Suppose I want something of this sort, in one .cpp source file:
.cpp
class A { public: void doSomething(B *b) {}; }; class B { publi
The C++ FAQ Lite answers this question and others. I'd seriously considering reading that thing end to end, or getting the book and doing the same.