Variables in C++

Programming is all about creating change in the way information is stored in a computer. To make this possible, we need easy access to the contents of computers memory. This is what programming language variables allow us to do: they give a simple way to store and retrieve information into […]

Read More →

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 →

Virtual Functions in C++

Object oriented programming is a style of programming that requires that functionality be attached to objects, instead of freely available through functions. C++, although not being a pure object oriented language, supports the notion of objects and classes of objects. One of the big advantages of programming with objects is […]

Read More →