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. I need to know how to get rid of the character that is terminating the record so I can expand the record so that it ends at 3067 thus being able to insert data in these latter positions. Could someone please tell me how? Please, I have a deadline of December 15th!