Hi,
Can an instantiation of a sub-class call a function member of the class from which it is derived? (that sounds weird)
Basically...
eg)
If I have an object:Code:class example { // Abstract Class protected: int x; public: void setX (int in_x) {x = in_x;} class chair { protected: float y; public: void setY (float in_y) {y = in_y;} }; };
example::chair abc;
Can I access setX with abc? Perhaps not with this code example but how could this be achieved?
Thanks