Can you post the contents of the input file and the contents of the file that is written out?
For testing you should use different files for input and output.
Type: Posts; User: Norm
Can you post the contents of the input file and the contents of the file that is written out?
For testing you should use different files for input and output.
To change the middle of a file, you need to copy everything before the changed area to an output file, then write the changed part and then copy everything after the changed area to the output file....