What are the different classes used for reading and writing to and from files in C++?

Different classes used for reading and writing to and from files are as follows:

Classes Description
ofStream This class is used for writing onto files
ifStream It is used for reading from files
fStream It is used for both reading and writing onto files

More Questions

Leave a Reply

Word Verfication * Time limit is exhausted. Please reload CAPTCHA.