I have an polymorphic object. I'm trying to allow the user of my program to save the object for future use.
The base class of the object has a bunch of subclasses and some virtual methods. The derived classes have subclasses. I want to save the instances of the derived classes that the user creates by using the program. How would i go about doing this? The filestream methods dont seem to be working properly.