C++ Programming

Pointers in C++

Pointers in C++

The pointer is a variable which holds the memory address of another variable. If one variable contains the address of another variable, the first variable…

An overview of Generic Containers in C++

Container classes are the solution to a specific kind of code reuse problem. They are building blocks used to create object-oriented programs. They make the…

The Standard C++ Library

The 1998 C++ standard consists of two parts: the core language and the C++ standard library; the latter includes most of the Standard Template Library…

Destructors in C++

As opposed to a constructor, a destructor is called when a program has finished using an instance of an object. A destructor does the cleaning…

Constructors in C++

A constructor is a special method that is created when the object is created or defined. This particular method holds the same name as that…

A Guide to Advanced Exception Handling in C++ Programming

An exception usually signals an error. One of the major features in C++ is exception handling, which is a better way of thinking about and…

Generic Algorithms – Unlocking the Power of C++ STL Algorithms

Algorithms are are at the core of computing. One intriguing approach is Genetic Algorithms (GAs), which draw inspiration from natural selection and genetics. These algorithms…

Operator Overloading in C++

Operator Overloading enables us to make the standard operators, like +, -, * etc, to work with the objects of our own data types or…