P
piruk
How to overwrite text to a file? When I use: file << text then the
text is added to the end of file.
piruk
text is added to the end of file.
piruk
piruk said:How to overwrite text to a file? When I use: file << text then the
text is added to the end of file.
How to overwrite text to a file? When I use: file << text then the
text is added to the end of file.
piruk
Gianni Mariani said:Seek to the position in the file you want to write to.
http://www.cplusplus.com/reference/iostream/ostream/seekp.html
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.