Congratulations. Would you like us to guess what you have actually done? Clearly it wasn't what wysota and I suggested because I know that works.
Edit... since you added to your prior post:
In your header you should have a prototype for the operator>> and operator<< free functions.
In your cpp you should have the implementation. Just like you do for the classes.
You are probably streaming a series of pointer values to a store, not the content of the pointed-to objects. This does not bode well for recovering the objects. What do your actual streaming operators look like?




Reply With Quote

Bookmarks