I am reading a record using the fgets function. The record from the old file terminates at position 733. I need to insert data at positions 3025 and 3040 and then write the modified record to the new file. Since the record ends at position 733 I cannot insert data in the positions 3025 and 3040...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.