May 22, 2019 at 7:55am
Does anyone know what mode do i use if i want to delete a specific data in a txtfile in the fstream
May 22, 2019 at 8:30am
There is no such mode flag. Either the whole content is deleted or nothing.
For deleting a specific part you need to reed the content, modify it, and write it back.
May 23, 2019 at 2:05am
Give a specific example.
What exactly is the structure of your file?
What exactly do you want to remove from it?