In C++, base class and derived class is a popular example of a concept that mirrors real life hierarchy. Apart from that there are several small but really useful concepts that are specially designed to keep the code simple and make life easier for a C++ programmer. One such concept is C++ virtual functions. In [...]