Linked List in C++

Linked list is a type linear data structure, in which  the elements are not stored at contiguous memory locations like array. Each element is linked using pointers as shown in the image:

Shallow Copy Constructor Vs Deep Copy Constructor

Copy Constructor 
It is a type of constructor which is used to create a copy of an already existing object. A copy constructor is a member function which initialises an object using another object of the same class.To implement this in coding we define a member function class which initialises an object using another object of the same class. The function prototype for copy constructor is as below:
ClassName (const ClassName &existing_obj);

OpenMP (Open Multi-Processing)

What is OpenMP ??
Now days we  mostly  use computers with more than one processor and CPU having multiple cores. Also with growing technology, as demand of processing power is increasing day by day, the cores in CPU's are also increasing. This is where OpenMP comes into role. OpenMP is an easy way to convert a program which uses one core into a program which is able to use multiple core for performance enhancement. OpenMP is designed only for shared memory systems, its meaning is that, it is designed for applications that run on single computer only. If you want to write a high performance application that will run on a cluster of computers, you should go with MPI. 
As per wikis definition OpenMP is an API that supports multi-platform shared memory multiprocessing programming in C, C++, and Fortran.

Introduction to Standard Template Library (STL)

The standard template library (STL) is a set of template classes and functions that supply the programmer with
  • Containers for storing information 
  • Iterators for accessing the information stored 
  • Algorithms for manipulating the content of the containers

STL Containers
Containers are STL classes that are used to store data. STL supplies two types of container classes:
  • Sequential containers
  • Associative container

My Kinect 3D Background and Foreground Subtraction Demo

Background subtraction is a classic computer vision technique used to separate the foreground (the subject of interest) from the backg...