67 238
Assignments Done
99,2%
Successfully Done
In November 2018

Answer to Question #20262 in C++ for roneey

Question #20262
can you give more than one parameter for modes in which a file is opened?if yes,how?
Expert's answer
#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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions