G
Guest
My experience with reading/writing files is to open one file, read it into
memory close it and open another file and write to it.
Now I would like to learn how to read and write to the same file. My
problem is that I need to open a file, read the first line, change the line
somewhat and write the line back to the file (overwriting the original line).
Can anyone help?
Thanks,
Mark
memory close it and open another file and write to it.
Now I would like to learn how to read and write to the same file. My
problem is that I need to open a file, read the first line, change the line
somewhat and write the line back to the file (overwriting the original line).
Can anyone help?
Thanks,
Mark