Ok I have a game that is written in Java and need to port it to C++. How can I tackle serilization? In java it is really easy, simply make your objects implement Serializable and when serializing the object, java is smart enough to transverse through all the objects in memory and serialize them taking into account that there might be multiple references to the same object so not to serialize multiplle times.
How can I handle this in C++ ? Is there a library that works simlilar to the java serilization? Ofcourse I can manually serialize all the objects myself, but I want to avoid doing that as that will take time and not so elegant. And does these libraries handle multiple pointers to the same objects as Java does?