Posts by Lincon Dias • 166 points
4 posts
-
1
votes1
answer358
viewsA: printf %s integer in C
As strings in C are defined with "(double quotes), while '(single quotes) are used to represent only a character. So the code stays: char tipoPersonagem[3][100] = {{"Lutador"}, {"Ninja"},…
-
6
votes1
answer79
viewsA: What is wrong in the double variable
The problem that is happening is due to the fact that you are trying to return a variable of type double in a role that supposedly should return a int. To return the double, change the function…
-
1
votes2
answers247
viewsA: Post php only with all fields filled
Using HTML5 The most solution simple for this problem, without using JS is to use only the attribute required HTML5 itself in the input fields. Thus, the user’s own browser nay let the form be sent…
-
4
votes1
answer1254
viewsA: Difference between REJECT and DROP in iptables
Basically it works like this, when used the DROP received package is barred in silent mode(Stealth), that is to say, nothingness is returned to sender. Particularly when I need to bar packets on…