The three types of containers in C++

The three types of containers in C++

C++ offers three types of containers. These containers are known as Sequential, Associative and Unordered. Learn what makes them different and how you can use them in your app.

10 C++ tips that will improve your coding

Here is a list of the top ten C++ tips that you should keep in mind when developing an application. They will not only improve the way you code, but will also make your code more effective.

Understanding Function Templates in C++

Understanding Function Templates in C++

By using function templates, you avoid any code duplication in your program. For example, one function template can be used to find the maximum value between different types

Understanding Smart Pointers in C++

Understanding Smart Pointers in C++

One of the main responsibility as a programmer is to ensure that your application is not leaking memory. Many OOB languages provides a garbage collector which makes sure that no leakage occurs.

How to use Forward Declaration in C++

How to use Forward Declaration in C++

Imagine that you have two classes: MyClassA and MyClassB. Both of these classes have their respective .h and .cpp file. However, you need to reference MyClassA in MyClassB, do you know where you should use #include "MyClassA.h"  as opposed to class MyClassA in the files of MyClassB?