Posts by Alankrita Lakshmi

Author Biographical Info: Not available

Semaphores in C++

By Alankrita Lakshmi

In this tutorial, we will learn about semaphore in C++. We will also see a sample code to understand it better. What is a semaphore? A semaphore is a non-negative variable which ca.... Read More

Forward Iterators in C++

By Alankrita Lakshmi

In this tutorial, we will learn about forward iterators in C++, in detail. Defining an iterator: As we know, a container is a data structure capable of storing information of alm.... Read More

C++ multiset swap() function

By Alankrita Lakshmi

In this tutorial, we will learn about the swap() function used in the multiset container of C++. We will also see a sample code to understand multiset swap() function. multiset in .... Read More

Override keyword in C++

By Alankrita Lakshmi

In this tutorial, we will learn about the usage of the override keyword in C++. We are also going to see some code snippets for better understanding of this particular keyword. Wha.... Read More

How to get input from user in a for loop in C++

By Alankrita Lakshmi

In this tutorial, we will learn about for loop, and how to get user input in for loop in C++. What is a for iteration statement? A for iteration statement specifies counter-cont.... Read More

Copy Constructor in C++

By Alankrita Lakshmi

In this tutorial, we will learn about the copy constructor in C++. We already know that a constructor is a special member function of a class. The task of a constructor is to ini.... Read More

this Pointer in C++

By Alankrita Lakshmi

In this tutorial, we will briefly discuss the ‘this’ pointer in C++. The ‘this’ pointer is a special pointer through which each object of a class has access.... Read More

Inheritance in C++

By Alankrita Lakshmi

This tutorial will talk in detail about the concept of inheritance in C++. What is inheritance in C++? In C++ language, the concept of inheritance describes the property by which .... Read More