Posts by Aastha Jain

Author Biographical Info: Not available

How to merge two maps in C++

By Aastha Jain

In this tutorial, we will discuss How to merge two maps in C++ easily. So before implementing let’s understand the approach that we are going to use. 1) Header file:- The fir.... Read More

What is a smart pointer and when should I use one in C++

By Aastha Jain

Hey learners, In this tutorial we will learn everything about smart pointers in C++ so stay tuned. Do we all know what is a pointer?? Pointers are just like variables that are used.... Read More

Remove empty elements from a vector in C++

By Aastha Jain

In this tutorial, we will discuss an easy way using which you can remove empty elements from a vector in C++. So let’s get started.   1) Including header file:- Before s.... Read More

Map lower_bound() function in C++ STL

By Aastha Jain

Welcome learners!! In this tutorial, you will be learning about the lower_bound function in Map in C++ STL. Before diving into the code let’s discuss it briefly. Map lower_bo.... Read More

Insert a vector into another vector in C++

By Aastha Jain

Hey! Are you are looking for the easiest way to insert a vector into another vector in C++?? Yes, you are at the right place this tutorial discusses all about the insertion of the .... Read More

Best way to insert value into a map in C++

By Aastha Jain

Hello Learners!! In this tutorial, we will learn ways to insert the value into a map in C++ and discuss the best way to do that. Before starting let’s understand what are Map.... Read More

Get the last n items from an array in C++

By Aastha Jain

In this tutorial, we will learn how to get the last n items from an array in C++ in an easy way. So let’s get started. How to get the last n items from an array in C++? This .... Read More

Check if a value exists in an array in C++

By Aastha Jain

In this tutorial, we will learn how to check the presence of a value in an array in C++. So let’s get started. An array is a group of similar types of data items that can be .... Read More

Related Posts