Loading and saving a class to a binary file

Posted by user146780 on Stack Overflow See other posts from Stack Overflow or by user146780
Published on 2010-06-06T02:44:58Z Indexed on 2010/06/06 2:52 UTC
Read the original article Hit count: 246

Filed under:

I don't know if this is possible but, I have a class and I'v made an instance of it. I also put things in it. It has vectors and other things. I was wondering if I could save its contents (the instance) to a binary file, then reload it and cast it in from the file. Thanks

© Stack Overflow or respective owner

Related posts about c++