Explain file stream classes.short note
Answers
Answered by
3
Answer:
A file stream can be defined using the classes ifstream, ofstream and fstream that contained in the header file fstream. 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
English,
1 month ago
Political Science,
1 month ago
Social Sciences,
3 months ago
Math,
10 months ago
Math,
10 months ago
Math,
10 months ago