The stream member function fail() can be used to determine whether the last operation performed on a stream was successful.
Correct Answer:
Verified
Q16: File output may be formatted the same
Q20: The may be used to write information
Q21: To set up a file to perform
Q22: The member function
A)write
B)get
C)insert
D)put
E)None of the above
Q23: A file must be
A)initialized
B)closed
C)opened
D)declared _ before data
Q26: When used by itself, _ causes a
Q27: The ios::hardfail bit is set when an
Q28: To write to a binary file, you
Q29: Opening a file with the flags ios::in
Q30: string objects cannot be stored to a
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