Posts from C++

Distance function in C++

By Muskaan Singla

In this article, we will learn about the Distance function in C++. This function is a part of the standard template library. It helps us to calculate the number of elements present.... Read More

Group words with same set of characters in C++

By Muskaan Singla

Think that, we have a group of words. Our aim is to group words with the same set of characters in C++. Assuming that only lower case alphabets are present, for example: INPUT: { h.... Read More

Prufer Code to Tree Creation in C++

By Deepanjan Bose

In this article, I am going to generate a Tree from a Prufer Code using C++ with example. I hope you will enjoy this tutorial. At first, we have to know the definition of prufer co.... Read More

std::bsearch in C++ with examples

By Palani M

In this tutorial we will learn about std::bsearch function and how it works in C++. As the name suggests, it stands for binary search. We will explain how binary method of searchin.... Read More

mbrtoc16() and mbrtoc32() in C++ with examples

By Karun Thannickal

In this tutorial, we will learn about the mbrtoc16() function and mbrtoc32() function in C++. They are both declared in the cuchar header in C++. We use these functions to work wit.... Read More

Create a Port Scanner in C++

By Karun Thannickal

In this tutorial, we will learn about how to create a simple Port Scanner in C++. Port scanners are programs that attempt connection to the server via the specified ports. We use t.... Read More

C++ program to blur a video using OpenCV

By Nishant Saxena

In the following post, we will see how to blur a video using OpenCV C++ function blur, we will also see Gaussian blur function in the code. Process Read the video using VideoCaptur.... Read More

C++ program to find parity of a number efficiently

By Dinesh Kumar

In this tutorial, we are going to learn how to find parity of a number efficiently in C++. Here we will learn about the parity of a number, algorithm to find the parity of a numb.... Read More