I am trying to overwrite an ifstream file with an ofstream file. How do I do this?
C++, How do I overwrite a .txt file?
Collapse
X
-
ofstream constructor allows you to specify truncation mode, see http://cplusplus.com/reference/iostr...ream/ofstream/Comment
Comment