Posts by Ayush Tripathi

Author Biographical Info: Not available

Remove element from the map container in C++

By Ayush Tripathi

Hello guys, In this tutorial, we will learn how to remove an element from the map container in C++. Suppose we want to store the name and roll number of each student, then the map .... Read More

Find all the files of a specific extension in a folder in C++

By Ayush Tripathi

Hello guys, in this tutorial we learn how to find all the files of a specific extension in a folder in C++.  For example for example we have a folder which contain .txt file mean.... Read More

Check if strings are rotations of each other or not in C++

By Ayush Tripathi

Hello, guys in this tutorial we will learn how to check if strings are rotation of each other or not in C++. Example 1 input string1="codespeedy" string2="speedycode" Output true E.... Read More

Sorting of partially or k sorted array in C++

By Ayush Tripathi

In this tutorial, we learn how to sort partially or nearly sorted array in  C++. We have given array in which each element is at most k position away from its sorted position. for.... Read More

Find a specific file in a directory in C++

By Ayush Tripathi

Hello, guys in this tutorial we will learn about how to find a specific file in a directory in  C++. We will look at some examples then we move further. Directory- C:\\Users\\MyPC.... Read More

Check if a key is present in a C++ map

By Ayush Tripathi

Hello guys, here in this article we will learn how to check if a key is present in a C++ map or not. So first of all, we need to learn what is a map. The map is a data structure th.... Read More

How to find substring from text file in C++

By Ayush Tripathi

Hello guys in this tutorial, we learn how to find substring from a text file in C++. To understand this topic we first need to understand file handling C++. In file handling, we re.... Read More

Comma separated string to Array in C++

By Ayush Tripathi

Hello, guys in this tutorial we will learn how to insert comma-separated string to an array in C++. To understand a topic we need to look at some examples. Convert comma separated .... Read More

Related Posts