File Handling in C++. Writing Object to file in C++. Reading object from file in C++.This lecture explains writing and reading objects to / from disk using binary I/O.
The concept has been elaborated with an easy step by step program in c++.
fstream class has been used for writing and reading objects to / from disk. The functions/methods for opening , writing and reading into file have been explained in easy way.