S
S
Sergey Polyntsev2015-01-11 07:29:38
Programming
Sergey Polyntsev, 2015-01-11 07:29:38

How to quickly save objects?

I have a class object, let's say My_Class. It stores several vectors containing other objects of other classes, and a bunch of other things. How can I quickly save an object of class My_Class so that it can be read just as quickly later?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Don Kaban, 2015-01-11
@The_Chemis

Serialize. It is clear that all contained classes must support the serialization interface.
If even faster - then kriconf.ru/2007/rec/KRI_2007_Programming_08apr_nep...
www.creatstudio.ru/user_files/files/compil_data.zip

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question