Answer to Question #20262 in C++ for roneey
can you give more than one parameter for modes in which a file is opened?if yes,how?
1
2012-12-11T08:51:55-0500
#include <fstream>
using namespace std;
void main()
{
/* Open an existing binary file in append mode */
ifstream f("filename.bin", ifstream::binary | ifstream::app);
...
}
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C++
Comments
Leave a comment