Posts by Astha Awasthi

Author Biographical Info:

Sort elements on basis of frequency in a string in C++

By Astha Awasthi

In this tutorial, we are going to discuss on how to sort elements on the basis of frequency in a given string in C++ and if the frequency of two characters is same then alphabetica.... Read More

Separate ‘1’ and ‘0’ in a binary string in C++

By Astha Awasthi

In this tutorial, we are going to discuss on a binary string problem, Separate ‘1’ and ‘0’ in a binary string in C++. Separate ‘1’ and ‘0&.... Read More

C++ Pre-Processors

By Astha Awasthi

In this C++ tutorial, we are going to discuss the preprocessors, its types and its implementation. Have you thought what happens between writing a program and its compilation? Let .... Read More

Double Ended Queue in CPP – deque in C++

By Astha Awasthi

In this CPP tutorial, we are going to discuss the Double Ended Queue and its implementation. In Queue we have studied that insertion is done at the rear side and deletion is done f.... Read More

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