does a base class need to include the header files of its subclasses
does a base class need to include the header files of its subclasses
A base class does not include any header files. As for the file containing the definition of the base class: it probably should not be including any header files that contain the definition of any subclass of that base class.Originally Posted by sigur47
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)