Posts from C++

How to Turn OFF or Turn ON all bits in C++

By Bhupen Pal

As the title of this blog suggests we are going to learn how to Turn OFF/ON all the bits of particular number in C++ using the Bitwise Not Operator. Turning OFF/ON bits means to ta.... Read More

C++ Pre-Processors

By Astha Awasthi

In this C++ tutorial, we are going to discuss the preprocessors, its types and its implementation. Have you thought what happens between writing a program and its compilation? Let .... Read More

C++ program to create a text file, open and read a particular line

By Raj Gaurav

In this tutorial, we will learn about how to Create a text file, how to open a text file and how to read a particular line from a text file in C++. before we create a file, do you .... Read More

Working with directory/folder and file in C++ Create, delete, show, rename

By Shanigaram Mahesh

In this tutorial, we will learn about how to count the number of files in a directory, create file, delete file, search file, display. Let us see with some example and learn how to.... Read More

Check if a given number is Prime or Composite in C++

By Rohit Nandan Dubey

In this C++ tutorial, we are going to discuss some methods to check that given number is prime or composite. Firstly we will learn what is a prime number? What is Prime number A pr.... Read More

Print alphabet mirror image pattern in C++

By Anne Caroline Glory Prince

In this tutorial we will learn how to print the alphabet mirror image pattern. The program accepts the integer and prints the pattern as output. The variable ‘rows’ is .... Read More

Rock, Paper and Scissors game in C++

By snormy

This tutorial would help in the understanding of the following topics: Functions User-input Recursion The “Rock, Paper and Scissors” is a classic game that can be used .... Read More

Double Ended Queue in CPP – deque in C++

By Astha Awasthi

In this CPP tutorial, we are going to discuss the Double Ended Queue and its implementation. In Queue we have studied that insertion is done at the rear side and deletion is done f.... Read More

Related Posts