Various classes available in file operations
Answers
Answered by
0
Answer:
In C++, files are mainly dealt by using three classes fstream, ifstream, ofstream available in fstream headerfile.
- ofstream: Stream class to write on files.
- ifstream: Stream class to read from files.
- fstream: Stream class to both read and write from/to files.
Similar questions