Archive for June, 2009

When Should You Create A Virtual Function?

June 22nd, 2009 by carlos

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 C++ language. The standard is […]