Posts by Astha Awasthi

Author Biographical Info: Not available

Some Useful Built-in String Functions in C++

By Astha Awasthi

In this tutorial, we are going to discuss some useful built-in string functions in C++ and their use. Most Useful Built-in String Functions in C++ Here we will learn the following .... Read More

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 a word in a given sentence or string in C++

By Astha Awasthi

In this C++ tutorial, we are going to discuss how to find all the occurrences of a word in a given sentence or string and replace it with a particular word. This feature can be see.... 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