Is it possible to serialize and deserialize a class in C++?
I\'ve been using Java for 3 years now, and serialization / deserialization is fairly trivial in that lang
I recommend using boost serialization as described by other posters. Here is a good detailed tutorial on how to use it which complements the boost tutorials nicely: http://www.ocoudert.com/blog/2011/07/09/a-practical-guide-to-c-serialization/