Questions and Answers
What does ios::app signify when used as a parameter in file opening?
Append to end-of-file, data will be written at the end of the file
What is the purpose of ios::binary when used as a parameter in file opening?
Specify that the file is a binary file
When should ios::trunc be used as a parameter in file opening?
Delete the contents of the file if it exists
What is the significance of fin.seekg(0,ios::beg) in file handling?
Signup and view all the answers
What does ios::in signify when used as a parameter in file opening?
Signup and view all the answers