Hi all,
I have two classes C and D these classes are inherited from B class. My question is how can I use a member function of C at D and at D's child classes? I tried to do it with a regular function but it does not work in class definitions. I also tried friends and it does not work. If you can provide your reply with an example I will be grateful.
I appreciate for helps,
Thanks,