Posts from C++

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

Check if a given date is weekend or not in C++

By Sanam Sahoo

In this tutorial, we will learn how to check if a given date is a weekend or not in C++. We will first define a function that will calculate the day of the week using the given dat.... Read More

Convert given Hexadecimal Number to Octal in C++

By Aniket Srivastava

In, this post we will learn How to convert given Hexadecimal Number to octal. First of all, let’s see what these numbers are, What is the Hexadecimal number? It is a number s.... Read More

Insert a node at the end of a Singly Linked List Using C++

By Arijit Nayak

We have already learned about how to insert the element at the beginning of the linked list in C++. Now it’s time to explain how to insert an element at the end of a list. We.... Read More

Insert a Node at the beginning of a Singly Linked List Using C++

By Arijit Nayak

Let’s start with some basic concepts behind the linked list. Why it is so popular, why it’s used in a huge range in industries? First, we will look into the fact why th.... Read More

std::valarray class in C++ and its methods

By Rosy Biswal

Here we will learn about std::valarray class in C++. A valarray is for holding an array of values and for performing mathematical functions on the arrays. It performs element-wise .... Read More

Josephus Circle using Circular Linked List in C++

By Pranav Prakasan

This article demonstrates the solution to the Josephus Circle Problem using Circular Linked List in C++. There are many methods by which the solution to this problem may be found. .... Read More

Check if a date is a future date or not in C++

By Sanam Sahoo

Hello, Coders!! In this section, we will discuss how we can check whether a date is a future date or not in C++. Let’s briefly discuss the Date and Time functions and structu.... Read More

Related Posts