Posts by Astha Awasthi

Author Biographical Info: Not available

Pair in STL ( Standard Template Library ) in C++

By Astha Awasthi

In this C++ tutorial, we are going to discuss the pairs in C++ STL Standard Template Library, commonly used pair functions, need to use pair template and its use. What is Pair in S.... Read More

Replacing a digit in a number with another digit in C++

By Astha Awasthi

In this CPP tutorial, we are going to discuss how to replace a digit in a number with any other digit. Integer to String Conversion To convert an integer to a string we use t0_stri.... Read More

Operator Overloading in C++

By Astha Awasthi

In this C++ tutorial, we are going to discuss the operator overloading and its implementation. What is Operator Overloading? The ability of the operator to operate with some specia.... Read More

First Repeated Character in a String in C++

By Astha Awasthi

In this CPP tutorial, we are going to discuss about the first repeating character in a string using set. Here, we go through some prerequisites of set that we need in the code :- W.... Read More

Virtual Destructor in C++

By Astha Awasthi

In this C++ tutorial, we are going to discuss the destructor, virtual destructor, its implementation and when to use virtual destructor. Why Virtual Destructor When we need to dele.... Read More

Find and replace in a sentence or string in C++

By Astha Awasthi

In this CPP tutorial, we are going to discuss how to find an all occurrence of a word in a sentence and replace it with a particular word at the place of every occurrence. This typ.... Read More

How to implement Priority Queue in C++

By Astha Awasthi

In this C++ tutorial, we are going to discuss priority queue and its implementation in C++. What is Priority Queue ? Priority Queue is a container in which every element has a prio.... Read More