In this tutorial, we will learn to count smaller elements on the right side of an array in C++. We will write a function to count elements which are smaller than the current elemen.... Read More
In this tutorial, we will learn to remove the characters from the string are in the second string in C++. Algorithm: Firstly, there are two input strings. Now initialize input_inde.... Read More
In this tutorial, we will learn to print array-items containing all characters of a word in the C++ programming language. We have an array and string and we have to print array ite.... Read More
In this tutorial, we’ll learn how to convert JSON elements into an array using C++ programming language. C++ directly cannot read the JSON values. So, we need to build an ass.... Read More
In this tutorial, we’ll learn how to find the last Saturday of each month in a given year in C++. Let us see an example of how this program works Enter the year: 2020 January.... Read More
Fellow coders, in this tutorial we are going to learn about matrix transpose using a high-quality linear algebra library in C++ called ‘armadillo’. Before we move on wi.... Read More
In this tutorial, we’ll learn how to count the number of sentences from a text file using C++ programming language. Here the text file name can be anything as per the user wi.... Read More
An adjacency matrix is a square matrix used to represent a finite graph. It is a way of representing a graph as a matrix of booleans (0’s and 1’s). The boolean value of.... Read More