C
cylin
Dear all,
For example,
class CA;
class CB {
public:
int m_iY;
CA m_oCA;
};
class CA {
public:
int m_iX;
};
I use BCB compiler, but it says "undefined structure CA".
The style is standard, why it can't compile well?
I know if I put full definition of CA before CB, it's ok.
Thanks for your answer.
Regards,
cylin.
For example,
class CA;
class CB {
public:
int m_iY;
CA m_oCA;
};
class CA {
public:
int m_iX;
};
I use BCB compiler, but it says "undefined structure CA".
The style is standard, why it can't compile well?
I know if I put full definition of CA before CB, it's ok.
Thanks for your answer.
Regards,
cylin.