I want to read 4 char from a file and then store them at an array so i do:
fread (&i_r_quan, sizeof (char), 4, f_ptr);
After checking these characters I need to store them in a structure as an...
Type: Posts; User: steviecrawf
I want to read 4 char from a file and then store them at an array so i do:
fread (&i_r_quan, sizeof (char), 4, f_ptr);
After checking these characters I need to store them in a structure as an...
Using fgets, could I use the macro BUFSIZ if I wanted to read a line sequential file in one, or would I have to read the file in parts?
I am reading one record at a time from an invalidated line sequential file. The records need to validated and written to a new file in preparation for sorting by customer code. As the records are of...