M
mlamb1
I have some code that works it seems a bit of a hack. I want to know
if there is a more c++y way to do it.
Here's my code
class CMyClass{
public:
void Save(CFile fOut);
void Load(CFile fOut);
char *mPointerIDoNotWantTosave;
char *mAnotherPointerIDoNotWantTosave;
int mDataIWantToSave;
..
..
..
int mDataEnd;
}
CMyClass::Save(CFile fOut)
{
if there is a more c++y way to do it.
Here's my code
class CMyClass{
public:
void Save(CFile fOut);
void Load(CFile fOut);
char *mPointerIDoNotWantTosave;
char *mAnotherPointerIDoNotWantTosave;
int mDataIWantToSave;
..
..
..
int mDataEnd;
}
CMyClass::Save(CFile fOut)
{