Forum Moderators: coopster
coho75
1. fopen (for reading) your source file
2. fopen (for reading) your target file with a different file pointer
3. fgets or fread to get the data from source
4. read the target file into a var until you find the spot
5. put the data from the source into the var instead of the target file data
6. pull the rest of the data from the target file into the var
7. fopen the target file for writing, which will make it zero length
8. write the new data from the var to the target file
9. fclose all file pointers