Posted by Brian Begnoche on April 14, 2001 at 22:29:04:
When you have two classes, say a base clase and a derived class, that must know about each other, do you use a forward declaration with the specification of just one class or both of them? I'm having a lot of trouble trying to figure out where to use a forward declaration, where to use an include, and where to have nothing. I'm specifically talking about four files: the header and source files for a base class and the header and source files for a derived class.
Post a Followup