Posts by Rg Brk • 101 points
5 posts
-
0
votes1
answer5229
viewsA: Add end point of each row
One way to do this is to replace the end of the file line with: ";[end-of-the-line]body += " and then adjust the first and last lines. Where [end-of-line] is the corresponding special character(s)…
sublime-text-2answered Rg Brk 101 -
1
votes1
answer113
views -
0
votes2
answers889
viewsA: How to remove a structure element
The problem is not the removal, but the printing of the list after removing. I think you wanted to write: p=retira(prim,num); Imprima(p); But instead it’s like this: prim=retira(prim,num);…
-
1
votes1
answer324
viewsA: Problem with reading Bitmaps in C
I believe that the problem may be in the creation of structs with multiple size of 4 bytes. In the tests I did on my machine I inserted the line printf("size of bmp header: %ul\n", sizeof(struct…
-
2
votes2
answers287
viewsA: How to make a function use how many arguments are provided to it
To make a function use as many arguments as are provided to it in C it is necessary to use "..." when declaring the parameters. In the case of the example you presented I suggest preserving the…