Nov 20, 2015 at 12:45pm
I have base class member variable which has private access.
But I need to access the variable in derived class without changing the access type of the base class variable.
So please kindly suggest me the any good idea?
Thanks
Gobi
Nov 20, 2015 at 1:13pm
You could use a protected access function.
Nov 20, 2015 at 1:20pm
You have a design failure.
Why must you do this?