Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to Serialize and Deserialize objects in C++?

Tags:

java

c++

c#

As we know c++ is also an Object Oriented Programming language where most the things are objects like java. So wanted to know is the Serialize and deserializ features are available in c++ as well as we do it in java?

If yes how it can be achieved?

In java We use Serializable Interface to say that this type of object can be serialized and deserialized.

So in c++ how?

And out of curiosity is it same in c# as in java?

like image 200
GuruKulki Avatar asked Dec 23 '22 04:12

GuruKulki


1 Answers

Check this out:

http://www.functionx.com/cpp/articles/serialization.htm

or use

Boost:Serialization http://www.boost.org/doc/libs/1_36_0/libs/serialization/doc/index.html

like image 182
Erik Ahlswede Avatar answered Dec 28 '22 22:12

Erik Ahlswede