How will you write object into file using file concepts in C++?
Arman
Jan 25th, 2018
You can write the object into file after serializing it. It is important to note that there are two types of objects: "persistence" and "non persistence". persistence objects are those which can be serialized and saved in file system.
hi
Nov 9th, 2016
I think the final fobj.display_detail(); in your code needs to change to eobj.display_detail();