Posts by athosbr99 • 461 points
11 posts
-
0
votes1
answer75
views -
0
votes0
answers56
viewsQ: getNamedQuery back null
I have a namedQuery that for some reason, is returning null results from the database. The namedQuery itself: @NamedQuery(name="Usuario.userLogin", query = "SELECT u.email, u.senha FROM Usuario u…
-
0
votes0
answers22
viewsQ: Rails does not install in Centos
I have a VPS with Centos running, and I can’t get out of this mistake: [athos@athoscastro bin]$ gem install rails Fetching: nokogiri-1.6.6.2.gem (100%) Building native extensions. This could take a…
-
2
votes1
answer130
views -
1
votes2
answers98
viewsA: Can I put an array as a parameter for another array?
If what you want to do is: for (i = 0; <= 203; i++) { array1[array2][2]; } Yes, you can, as long as the value of array2 be a whole. I don’t understand what you want by array1[array2][2][string],…
-
3
votes1
answer278
viewsQ: Program does not read file data properly
I have these three structs: typedef struct { char codigopaciente[10]; char nome[50]; char telefone[50]; int idade; char sexo; } paciente; typedef struct { char codigomedico[10]; char nome[50]; char…
-
0
votes2
answers249
viewsQ: Problems with vectors and structs
I’m kind of new to C++ (because the code is basic) and I’m having a certain problem with an exercise that is necessary to store the data of 10 people (name, date of birth and height) using structs.…
-
2
votes2
answers1451
viewsQ: Virtual machine created on X computer does not work with Y computer
I created a virtual machine in an X notebook of Ubuntu 12.04, in which it worked normally. I created this machine so that I could use a Mysql database and move between two computers without having…
-
14
votes6
answers14419
viewsQ: Which database should I use in a small desktop application?
I read a bit about the Meta and I thought that this question does not escape much from the current rules of the site. Risking losing reputation, come on: At the moment I work in a small company that…
-
2
votes6
answers5683
viewsA: Copy Wordpress database without using Phpmyadmin
There is a Mysql tool called Mysql Workbench which I personally find more practical than using phpMyAdmin. Many things can be done with it, including importing and exporting the database. However,…
-
10
votes1
answer450
viewsQ: The parachute descends head down. How do you reverse it?
I made a rocket in Unity that I can take off and land after five seconds. However, it lands that way: I want to get him to the ground with his parachute up. How can I do that by code? Code I have so…