I create a file using OFstream
I create a file using OFstream class as follows:
When I first run the program, "F" file is created and data is written. When I run the program for the second time, all the content in the "F" file is deleted and new data is written.
How could the new data append the old data in "F" file, rather than delete all the old data?
Thanks for your suggestion.
|All times are GMT -4. The time now is 14:09.|