In a program I want to chang the behavior of ofstream so that I can either append or rewrite a file. What is the type of the flags ios::app, ios::out so I can use a variable to switch between under the flow of the program?
How to setiosflag ios::app/ios::out
Collapse
X
Comment