Hi all, I have a class with functions A and B. Function A calls to B. Well, I need to subclass this class because I need to reimplement the function B (the function A remains the same). The question is: in the new class, when A calls to B wich "version" of B is called: the "new" or the "old" one. If the answer is the version from the parent class (as I think) what's the best solution to make that the function A calls to the new B in the subcalassed class? Defining B as virtual in the parent class and reimplement it in every subclass, maybe?

Thanks.