Posts by pmg • 6,456 points
254 posts
-
2
votes3
answers2325
viewsA: How does the rotation of Bits in C work?
Running 8 bits to the left 00000111 00001110 00011100 00111000 01110000 11100000 11000001 10000011 Running 8 bits to the right 00000111 10000011 11000001 11100000 01110000 00111000 00011100 00001110…
-
4
votes6
answers35893
views -
4
votes3
answers5625
viewsA: Using Struct in Exercise C Language
struct definition is better outside of function. char sexo[0] has space for zero letters. To store "M" (or "F") and the terminator needs at least 2 characters for(i = 0; i <= quant; i++) will run…
-
1
votes4
answers1172
viewsA: How to get values separated by "<BR>" in Mysql?
If you can create a file on the database server, use SELECT ... INTO SELECT ... FROM ... INTO OUTFILE '/tmp/...' LINES TERMINATED BY '<br>\n' Then use the file as input for inserts with LOAD…