C++ can I reuse fstream to open and write multiple files?
<p>I have 10 files need to be open for write in sequence. Can I have one fstream to do this? Do I need to do anything special (except flush()) in between each file or just call <code>open(file1, fstream::out | std::ofstream::app)</code> for a each file and close the stream at the end of all 10 files are written. </p>
