Posts by Leonardo Moura • 303 points
10 posts
-
3
votes2
answers19039
viewsA: Create an executable
Click build -> Publish A screen will appear for you to configure how the installation will be done on the client’s PC, configure it in the way that suits you and publish it. A Setup, a Manifest…
-
2
votes3
answers409
viewsA: Would it be necessary to have another programming language to create the Assembler?
Luana, a compiled program is code in a format supported by the processor architecture - Intel processors for example follow the CISC architecture - Each architecture has a set of own commands.…
-
1
votes1
answer108
viewsA: C program to concatenate strings does not execute correctly
Marco, the problem is for in his main. Declare it so: //Você já declarou a variável i, então pode usá-la sem declará-la novamente for(i = 0; i < 16; i++) When I call one for, prefer to use…
-
-1
votes1
answer568
viewsA: Multiplication of two matrices in C. Transfer of values between functions
Francis, this passage of values, in C, can be through the commandreturn or pointer manipulation. In your case, I believe that the return be better. It would look something like this: int*…
canswered Leonardo Moura 303 -
0
votes2
answers484
viewsA: Incorrect syntax error next to engine
Lisa, see if putting the 'AUTO_INCREMENT' along with the 'PRIMARY KEY' statement works. Like this: CREATE TABLE SITE( SITE_ID INT IDENTITY(1,1) NOT NULL PRIMARY KEY AUTO_INCREMENT, SITE_NAME…
-
3
votes1
answer410
viewsA: Mysql, use SUM(total) > 10 quantity in WHERE
Use the 'HAVING' clause as follows: SELECT SUM(A.val) AS totalvendas,B.cod AS codigo, B.nom AS Nome, B.reg AS regiao FROM venda AS A LEFT JOIN vendedor AS B ON A.ven =regiao WHERE reg = "norte"…
-
2
votes3
answers2310
viewsA: Keyboard hides Edittext
I had a very similar problem and managed to solve, if you want to use as reference: Space between Edittext and keyboard on android Try using in your manifest 'adjustResize|stateAlwaysHidden' and put…
androidanswered Leonardo Moura 303 -
0
votes2
answers1173
viewsA: Space between Edittext and keyboard on android
Thanks @Mathias, the adjustResize worked well, it follows how it got all the xml of the field if serve as reference for someone: in the manifest file: <activity android:name=".MainActivity"…
-
6
votes2
answers1173
viewsQ: Space between Edittext and keyboard on android
I wonder if it is possible to put a margin to space the edittext keyboard so it is not so close: The xml of how I am declaring Edittext: <EditText android:id="@+id/editTextNome"…
-
0
votes2
answers87
viewsA: Why is this code not generating the average correctly?
Try putting the return out of the keys of for, if not it leaves the function in the first interaction. If only that doesn’t work, try to manipulate v as pointer, and not as vector. So: S += v + (i *…