I want to delete a certain part of a text file using C++. I opened the file with the ios::in. Then I used seekp() to go to the place I want. Then I wrote: "file.put(ascii(8))" to simulate a bckspace but it didn't work.
Is it true that I must make a loop on the whole file to get the next character to my current place and put it in my current place and so on (what time consuming!!!)