Posts from C++

Print Butterfly Pattern Program in C++

By Isha Prasad

Hello Learners, In this article, we are going to learn how to Print a Solid Butterfly Pattern using C++. This pattern is possible and easy to understand in C++. let us understand f.... Read More

XOR Encryption in C++

By Ranjeet V

Hello everyone, in this tutorial, we are going to learn about XOR Encryption in C++. XOR encryption is difficult to crack by the brute-force technique. In the brute force technique.... Read More

matrix spiral printing in C++

By Vikram singhal

Problem statement Given a matrix of r rows and c columns, print the matrix in spiral form with C++ program. Example: 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 .... Read More

Ceiling of every element of array on their right side elements in C++

By Vikram singhal

Problem statement Given an array of integers, determine the ceiling (the closest element that is greater than or equal to that element) on the elements present on the right side of.... Read More

Find First Non-Repeating Element in an Array in C++

By Abinash Reddy

In this article, we will write a program to find the first non-repeating element in the given array in C++. Example Input: arr[] = {2, 3, 4, 5, 2, 5, 4, 1, 3} Output: 1 Input: arr[.... Read More

RTTI (Run-time type Information) in C++ with example

By Ranjeet V

Hello everyone, in this tutorial, we will learn about Run-Time Type Information(RTTI) in C++. This mechanism helps us to expose information about the data type of an object during .... Read More

Ordered Set and GNU C++ PBDS

By Ranjeet V

Hello everyone, in this C++ tutorial, we will be discussing Ordered Set and GNU C++ PBDS. PBDS stands for Policy-Based Data Structures. Policy-based data structures are not part of.... Read More

Pure virtual destructor in C++ with code example

By Ranjeet V

In this post, we will learn about pure virtual destructor in C++. We can have a pure virtual destructor in a C++ program, provided the destructor has a function body. The reason be.... Read More