Id like to edit a file. At first i thought this was going to be easy, but now it appears quite complex. As i understand it there is no standard way to delete part of a file?
im storing data on different lines in the file, and want to target a specific line to delete or edit. Ive read a bit about ios::ate, but dont know if this is the right direction, or if i should be copying the file, rebuilding it and inserting the data i want to at the right point.
Has anyone got any advice? thanks :)