Can i save an object to a file? And then read it back.
thankx.
Printable View
Can i save an object to a file? And then read it back.
thankx.
Can i save an object to a file? And then read it back.
thankx.
Hi
If u make ur object persistent then it is possible to store the object and retrive it back.
Hope this will suffice.
Regards
I have merged your duplicate threads.
Write the individual components of the object out, and then read them back. The commonest way to write objects is to overload the stream insertion and extraction operators, (the "<<" and ">>" operators).