76 780
Assignments Done
Successfully Done
In June 2019

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!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions