I have two classes, and I want each to contain a pointer to the other. How do I do this?
(the first is declared, but the 2nd hasn't been, so the compiler doesn't know the type that the pointer is pointing to)
To show what I mean:
Code:class a{
b* pnt;
};
class b{
a* pnt;
};