J
Jerry
Hi, everybody:
I want to modify a portion of a txt file. The way I do it is to
open the file in read mode, and create a new file, and delete the old
file, and rename the new file.
I am wondering if this is a common practice of modifying a file in
C, is there any other way to do it?
Thank you all for your attention.
--Jerry
I want to modify a portion of a txt file. The way I do it is to
open the file in read mode, and create a new file, and delete the old
file, and rename the new file.
I am wondering if this is a common practice of modifying a file in
C, is there any other way to do it?
Thank you all for your attention.
--Jerry