A file is a collection of related data stored on a disk. It is advantageous to work with data stored in files rather than working with data given from keyboard due to following reasons: It is difficult to read huge amount of data from keyboard. Data entered from keyboard is volatile i.e., that data is cleared when power goes off. File Handling Classes fstreambase: The fstreambase is the base class for ifstream, ofstream, and fstream classes. Functions such are open() and close() are defined in this class. fstream: It allows simultaneous input and output operations on filebuf. This class
The post An introduction to file handling classes in C++ appeared first on Coding Security.
An introduction to file handling classes in C++
read more
Tidak ada komentar:
Posting Komentar