I know this may be a dumb question, I've searched in google and forums with no luck. Please help me get this code to work:
I want to call a member function of class B from a member of class A, and I can't seem to get the syntax right, the problem is at lines 10-11, the compiler error is: cyclic_dep.cpp:11:7: error: request for member 'print' in 'b', which is of non-class type 'B*'