As Cedric said, there is a managed C++ forum - and you should be using it. But in C/C++, this would work:
class CTwo; // note we're just telling the compiler it exists
class COne
{
...
CTwo *m_pTwo; // good, but needs assigned somewhere
CTwm m_Two; // can't do this, as we don;t know anything about CTwo except that it exists
};
class Two
{
...
COne *m_pOne; // good, but needs assigned somewhere
COne m_One; // We can do this, as COne has been fully defined.
};
I hope that helps, Iain.
In the process of moving to Sweden for love (awwww). If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!