To open an output file and add to the end of the data already in the file you would write
A) outFile.open"project.txt") ;
B) outFile.append"project.txt") ;
C) outFile.open"project.txt", append) ;
D) outFile.open"project.txt", ios::app) ;
Correct Answer:
Verified
Q24: Which include directive is necessary for file
Q25: If a file did not open correctly,
Q26: After a stream is opened, before it
Q27: Which statement correctly opens an input stream
Q28: The member function setf stands for
A) set
Q30: The member function eof) is true/false) when
Q31: When is the external name of the
Q32: A _ is a variable that has
Q33: A function that is associated with an
Q34: "\n" is a _ and '\n' is
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