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

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

Create array of strings in C++

By Ayush Tripathi

Hello, Guys in this tutorial we learn how to create an array of strings in C++. First, we need to understand what is an array. An array is a collection of data elements. These data.... Read More

Check if a string starts with a specific substring in C++

By Ayush Tripathi

Hello, guys in this tutorial, we will learn how to check if a string starts with specific substring in C++. In input, we have two strings let say, s1 and s2. We will check if s1 st.... Read More