Here is a program that demonstrates writing an object to a data file and reading it back:#include <iostream>#include <fstream>using namespace std;class Student { private: string name; int roll; public: void setName(string n) { name = n; } void...
Showing posts with label program to demonstrate writing an object to a data file and reading it back. Show all posts
Showing posts with label program to demonstrate writing an object to a data file and reading it back. Show all posts