PDA

View Full Version : simple save/load system with Boost Serialization


asvsfs
10-20-2009, 03:45 AM
I have some major problem with save/load system in game i never did that before like i need now im using Boost library and im very persisting to using just this library! but i really dont know exactly how to save and load with that or any other way..!! i can save my objects but i dont know how can i save them that i can load them efficient ..
i need to know what kind of thing im going to create when im loading objects if there is any sample code of using boost serialization in loading game objects it would be great!! i really need it.

Thx,
Regards

alphadog
10-20-2009, 08:44 AM
Have you RTFM (http://www.boost.org/doc/libs/1_40_0/libs/serialization/doc/index.html) (which, of course, in this case, means "read the friendly manual" :) )? The tutorial section should set you on the start path.

alphadog
10-20-2009, 08:47 AM
And, googling for "boost serialization tutorial" gives a wealth of help, like this one (http://www.informit.com/articles/article.aspx?p=398702).

asvsfs
10-21-2009, 12:53 PM
Thx for answer resources helped.