Computer Science, asked by SHYAM8606, 1 year ago

Various classes available in file operations

Answers

Answered by Zisha7
0

Answer:

In C++, files are mainly dealt by using three classes fstream, ifstream, ofstream available in fstream headerfile.

  1. ofstream: Stream class to write on files.
  2. ifstream: Stream class to read from files.
  3. fstream: Stream class to both read and write from/to files.

Similar questions