Editing exsiting files... Please help
At the moment i am makeing a game where files are used extensivley, but i have a problem. At the moment i am using fin and fout statments to my advantage, and all is well. I have one problem though, I do not know how to EDIT existing files. For instance
Here is file "example.txt"
Seems funky right? Now how would i, using the program, insert "this" in line two without changing the rest of the file and how would i right "example" over "exammple"?