Posts from C++

Fix a “use of undeclared identifier” compilation error in C++

By Muskaan Singla

In this tutorial, we will learn how to fix a “use of undeclared identifier” compilation error in C++. The word identifier is used for the names we give to our variable..... Read More

Prim’s MST for Adjacency List Representation in C++

By Muskaan Singla

In this tutorial, we will learn about the implementation of Prim’s MST for Adjacency List Representation in C++. MST stands for a minimum spanning tree. We need to calculate the .... Read More

Reverse individual words using Stack in C++

By Rishabh Agarwal

Hello Guys, In this tutorial we are going to learn how to reverse individual words using stack in c++?  Before that check this tutorial on stacks to have a better understanding of.... Read More

How to use std::string::rfind in C++

By Gorakh Chavan

In this post, we are going to learn about standard function under the string class which is std::string::rfind this function is used to find the last occurrence of a string. Let.... Read More

How to use std::front_inserter in C ++

By Gorakh Chavan

In this post, we are going to learn about the standard function in C++ std::front_inserter. While it is declared or defined in the header file it can be applied on the container t.... Read More

Write a C++ program to demonstrate Generic Linked List

By Ramneeq Sodhi

Here we are going to make a generic LinkedList so a generic LinkedList is a, Linked list using a void pointer is a generic linked list. That is, it can store any kind of data that.... Read More

Generate random JSON data using C++

By Ramneeq Sodhi

In this tutorial, we are going to learn what is JSON data, what are the advantages of JSON data, and how we can create our own JSON data using C++. JSON is a widely used data struc.... Read More

Find if a given sequence of characters are present in a parent string in C++

By Anurag Verma

In this tutorial, we are going to learn to check whether a given string is a part of a given parent string or not in C++. For example, if the given parent string is “codespee.... Read More

Related Posts