Hi,
Tejaswin Macharla wrote:This look OK to me.
> Hi,
>
>
> I have changed the sample code given in the Boost site for
> Serialization and the saving of the file works fine.
> The code works fine without the switch case as it executes save and
> load in the same session. I can save and load in the same session.
> If I close the application and open the application again and try to
> load the saved(serialized) file, it is throwing an Archive Exception.
>
>
> I am trying this for a game that I am working on so as to save and
> load in different sessions.
>
>
There is a pair of examples in the package. demo_save and demo_load.
(also demo_xml_save and demo_xml_load). Try these examples. If
they work - compare them to your own test. If they don't work, let me know.
Robert Ramey
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users