OOPS: how to enforce that a function is implemented in derived class

In reply to verif_learner:

A class with a pure virtual method needs to be marked as virtual since you cannot be allowed to construct a class with a pure virtual method.