C++ Object serialization?

B

BCC

Hi,

Is it possible to serialized objects in c++? Large objects with
pointers, other objects, etc. in them?

I have an application that performs a time consuming analysis, and it
would be wonderful if I could save the analysis object with all its
values in a database or on disk.

Thanks,
B
 
S

Steven T. Hatton

BCC said:

Welcome to comp.lang.c++.
Is it possible to serialized objects in c++? Large objects with
pointers, other objects, etc. in them?

I have an application that performs a time consuming analysis, and it
would be wonderful if I could save the analysis object with all its
values in a database or on disk.

Thanks,
B


Yes you can. This is addressed in the FAQ for this newsgroup. Please take
a look at the FAQ if you plan on hanging around here.

http://www.parashift.com/c++-faq-lite/index.html

Hint: serch the FAQ for serialization. There's actually a lot there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top