Hi,
If Class A needs Class B and Class B needs Class A, what do I need to include in both header files so that the code can compile?
I tried forward declaration of class B in A's header file (class B;) and class A in B's header file but I got a forward declaration error, followed by invalid use subsequently. How should I resolve it?