Need help with C++ and classes

Alberto di Bene dibene at usa.net
Tue Nov 11 11:27:41 CST 2008


Terry Fox wrote:

> My problem is that the
> reverse is not true.  Those other classes cannot gain access to the class 1
> variables or methods, even though they are declared public.

If the class1.h file in #included in the class2.h file, then all the public members of class1 *must* be accessible from 
class2....

73  Alberto  I2PHD



More information about the Tacos mailing list