I know you can append to a file by using ios::app, but is there a way to insert into a file (opposite of append)?? Thanks for your help.
Printable View
I know you can append to a file by using ios::app, but is there a way to insert into a file (opposite of append)?? Thanks for your help.
No.
You've got to re-write the file with the new data where you want it.