Posts from C++

Student Data Management implementation using C++

By Tanu Kumari

In this tutorial of CodeSpeedy, we will learn about the Student Data Management implementation using C++ in a very simple way. Firstly, A data management system is a system softwar.... Read More

C++ program to swap bits in a number

By Nishant Soni

Today we will learn how to swap bits in C++ language. Given an integer n and two-bit positions a1 and a2 inside it, swap bits at the given positions. The given positions are from t.... Read More

A C++ program for Unrolled List

By Srirama Charan

In this tutorial, we will see how to implement an Unrolled Linked List in C++. Unrolled Linked List is a variation of the normal Linked List where more than one element is stored a.... Read More

Print maximum number of A’s using given four keys in C++

By Tanu Kumari

Learn how to solve the “print maximum numbers of ‘A’ using four keys” problem in C++ in a very simple way. Here in this program, we will try to print the ma.... Read More

How to sort a stack using recursion in C++

By Tanu Kumari

Learn how to sort a stack using a recursion problem using C++. Here, We will write program code to sort a given unsorted stack into ascending order with the help of recursion. Firs.... Read More

ios::good() and ios::bad() functions in C++

By Ranjeet V

ios::good() and ios::bad() functions in C++ are used to check the state of the stream whether it is good or bad to do our task. Both of these are defined in ios library. These func.... Read More

Position of a robot after given movements in C++

By Siddharth Raja

In this tutorial, we will write a C++ program to find the final position of a robot from the given movements. Let us consider a robot that can move in a 2-Dimensional space, we nee.... Read More

isnormal() function in C++

By Ranjeet V

In this tutorial, we are going to talk about the working of the isnormal() function in C++. As it is very much evident from its name, this function is used to find out whether a nu.... Read More