Suppose I have a class A and a class B.
The .h of A, needs the .h of B, and the .h of B needs the .h of A. (need = #include).
All .h have the guards:
#ifndef _classX_
#define _classX_
...
...
#endif
But if I compile the .cpp of A, then when it includes the .h of B, the B class cannot include the .h of A class because the A class has already use the guard.
How can i solve this?