Posts by Filipe Herculano Rocha • 26 points
3 posts
-
0
votes1
answer137
viewsA: How to read a certain number of lines in C?
Well, to read 1000 lines one must first think of the criticism of the case in which the last you will read does not possess 1000 lines. Then I suggest you do the following in your code: void*…
canswered Filipe Herculano Rocha 26 -
0
votes2
answers211
viewsA: Create chained list with realloc()
Good first a touch so that your code is more readable. When you’re working with struct and allocating them dynamically it’s always more interesting to put the typedef as a pointer, for example:…
-
1
votes1
answer45
viewsA: Doubt debugging a program
It doesn’t necessarily have to be 4 bytes. For example, when we are working with several types sizes we can use either 4 bytes or 8 bytes or 2 bytes. It doesn’t matter what size because the computer…
canswered Filipe Herculano Rocha 26