Hi, can anyone tell the rules of declaring a function virtual or pure virtual?
The derived class will need to declare the inherited function as virtual if the same function is pure virtual in the base class. Is this right?
How about when writing an abstract base class? I'm confused about pure virtual and virtual here.
Thanks.