Object Oriented Programming20805 marksFile handling with objects
Write a Program to read and write values through object using File Handling.
Write a Program to read and write values through object using File Handling. [5]
File handling in C++ allows storing and retrieving object data (attributes) to/from files using fstream. We use write() to store binary data and read() to retrieve it. --- --- --- Feature Description ------ fstream Used for both reading and writing ios::out \ ios::binary Opens file in binary writ...