Posts from C++

Find indices of Target sum in a given array in C++

By Palani M

In this tutorial, we will be solving a popular algorithmic challenge. This question can be found on leetcode as TwoSum. We will be solving this Two Sum problem in C++. Two Sum Prob.... Read More

Implementation of Null Cipher in C++

By Akash Dileep

In this tutorial, we will learn how to implement NULL Cipher using C++. In null cipher, ‘null’ stands for ‘nothing’ and ‘cipher’ stands for R.... Read More

Find frequency of each element in an Array in C++

By Akash Dileep

In this tutorial, we are going to see how to frequency of each element in an Unsorted array in C++. There are many ways to solve this problem, in this tutorial we will see the brut.... Read More

C++ real() function with examples

By Sahil Singh

In this article, we will be learning C++ – real() function with examples. The real() function in C++ is defined header file “complex.h”. It comes handy when we ne.... Read More

Stack implementation using Linked List in C++

By Akash Dileep

In this tutorial, we are going to see how to implement a stack using a linked list in C++. A stack is an ordered collection of the items where addition of new items and the removal.... Read More

Message passing in C++

By Shubham Giri

Message Passing the Topic itself gives a meaning “Passing something”.┬áSo in this topic, we are gonna learn What is Message Passing and how it works in C++. From the ba.... Read More

const_cast in C++

By Harsh Gupta

In this tutorial, we will learn const_cast in C++ with examples. There are 4 types of casting operators as follows: 1. const_cast 2. static_cast 3. dynamic_cast 4. reinterpret_cast.... Read More

Matrix Diagonal Sum in C++

By Palani M

In this tutorial, we will be writing a program to calculate sum of the diagonal elements of a matrix in C++. Diagonal Matrix Sum in C++ This question was a part of the Leetcode Biw.... Read More