explain file stream classes.
Answers
Answered by
0
Answer:
A file stream can be defined using the classes ifstream, ofstream and fstream that contained in the header file ifstream. The class to be used depends upon the purpose whether the write data or read data operation is to be performed on the file. A file can be opened in two ways: Using the constructor function of class.
Similar questions