Archive for the 'Uncategorized' Category

Variables in C++

July 13th, 2009 by carlos


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 the computer’s memory. It may […]

Virtual Functions in C++

April 26th, 2009 by carlos


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 that they can behave differently […]

Class Access Levels

April 20th, 2009 by carlos


C++ provides three access levels for members of a class. Both member variables and member functions can be tagged as public, private, or protected, depending on the intended use of the member in the class. A public data member of member function is one that can be accessed by any user of the class, independent […]