M
markww
Hi,
I have a two classes setup like this:
class CChild {
void Something();
};
class CParent {
string m_strData;
CChild m_Child;
};
Is there anyway that the cchild class member can get at m_strData in
the parent like:
void CChild::Something()
{
GetParentClass()->m_strData;
}
Thanks for any ideas
I have a two classes setup like this:
class CChild {
void Something();
};
class CParent {
string m_strData;
CChild m_Child;
};
Is there anyway that the cchild class member can get at m_strData in
the parent like:
void CChild::Something()
{
GetParentClass()->m_strData;
}
Thanks for any ideas