C++: Saving the class object in archived format which is having char * attributes and read it back f
- by Manjunath
Hi all,
Assume I have a class
class A
{
char *attr1,*attr2;
public:
. . .
};
How to save the object of this class to file in a binary format and read it back?
Thanks.