The ____________ fstream member function opens a file stream and connects the stream variable to a physical file whose name is the argument to the function.
A) close( )
B) overloaded operator <<( )
C) open( )
D) eof( )
E) flush( )
Correct Answer:
Verified
Q14: When you write
ifstream inStream;
inStream.open("infile.dat");
the file,infile.dat must be
Q15: cin is an output stream object of
Q16: The flush member function copies the file
Q17: When you call the setf function on
Q18: You get the manipulators endl and member
Q20: If the output is too wide for
Q21: What output will be produced when the
Q22: Assume you have opened and connected stream
Q23: Given the following code.The input file,in.dat,is a
Q24: Assume you have opened and connected stream
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents