When Should You Create A Virtual Function?

One of the questions raised by people starting to use C++ and virtual functions is: when should I use virtual functions? To answer this question, you need to understand the reason why virtual functions exist in the first place. A virtual function is a mechanism used for polymorphism in the […]

Read More →