Posts from C++

Forward Iterators in C++

By Alankrita Lakshmi

In this tutorial, we will learn about forward iterators in C++, in detail. Defining an iterator: As we know, a container is a data structure capable of storing information of alm.... Read More

C++ multiset swap() function

By Alankrita Lakshmi

In this tutorial, we will learn about the swap() function used in the multiset container of C++. We will also see a sample code to understand multiset swap() function. multiset in .... Read More

Count total number of words in a text file in C++

By Tanmaay Kankaria

In this article, we will discuss with a program, how we can count the total number of words in a text file in C++ language. You can use a text file of any name, just make sure that.... 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

How to check if a string is a valid identifier or not in C++?

By Brijesh Kumar

In this tutorial, we will learn how we can check if a string is a valid identifier or not in C++ programming. We are going to see it with an example code snippet. So stay here and .... Read More

Math nexttoward() function in C++

By Rishabh Thukral

In this tutorial, we will learn about how to use the nexttoward() function in C++. So continue through this article… nexttoward() function in C++ The nexttoward() function t.... Read More

Remove the Last Line from a Text File in C++

By Rishabh Thukral

In this tutorial, we will learn about how to Remove the Last Line from a Text File in C++. Opening a File fstream file; file.open("abc.txt",ios::in); //'in' is a type of file mode.... 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