I have a base class
Class Base
int a; // Private member of Base
Function Test( int t) // public member of base class
a = t;
Which is derived by another class
Class Derived : Public Base // derived class of base
Can i call a base class function from a derived class Object
Derived d;
d.Test( 5 );
Aucun commentaire:
Enregistrer un commentaire