Original Post
Consider the following code:
class B
class A {
public:
void do(B &);
};
class B {
public:
void do(A &);
};
This code will compile. However, why it is impossible to put these two classes in two different .h files? [Edited by - The C modest god on July 14, 2005 12:56:55 PM]