Posts by Barshan Paul

Author Biographical Info: Not available

C++ program to arrange names in alphabetical order

By Barshan Paul

This is a simple program regarding strings in C++. The main objective of this is to sort the Strings in a dictionary or alphabetical order. In order to achieve this, we will have t.... Read More

How to use bitset in C++

By Barshan Paul

In this post, we will learn what exactly is a bitset in C++? And how we can harness the power of it and use it to make great things. So what exactly is bitset? A bitset is a large .... Read More

How to use Vector capacity function in C++

By Barshan Paul

In this post, we will learn how to use the vector library and its vector capacity function in C++. Vector library is just like a regular library except for the part where these hou.... Read More

Difference between “size” and “capacity” in C++ in String

By Barshan Paul

In this post, we are going to investigate the difference between the size and capacity of strings in C++. The difference between the size and capacity of a string in C++ is pretty .... Read More

How to use remquo() math function in C++

By Barshan Paul

In this article, we will learn how to use the remquo() math function in C++. This function is associated with the <cmath> library to find the quotient and remainder of a divi.... Read More

How to separate even and odd numbers in an array in C++

By Barshan Paul

This tutorial will explain how to separate even and odd numbers in an array in C++ and transport them to two different and separate arrays. Illustration – Suppose we enter an.... Read More

How to find the cube root of a number in C++

By Barshan Paul

This is a pretty interesting topic and there are many ways to solving this problem. Well providing all of you know what cube root is (for those who don’t its the number which.... Read More

How to round off numbers nearest 10 in C++

By Barshan Paul

This tutorial will show you how to round off numbers to their nearest 10th multiple in C++. This means if we enter the number 21 the program will give an output 20. And if we give .... Read More

Related Posts