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 →

Class Access Levels

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 […]

Read More →

Using the assert macro in C++

Writing good software is a difficult proposition. It is sometimes easy to write sub-par software, with a high number of defects and poor maintainability, but to make sure that software has good quality and is easy to modify one needs to take care of many issues. One of the necessary […]

Read More →