Posts from C++

Move all the files from one directory to another in C++

By Ranjeet V

In this tutorial, we are going to learn how we can move all the files from one directory to another in C++. We will write a C++ program that can do our task. Here I am going to sho.... Read More

Sum of range in Segment Tree using C++

By Keshav J

In this tute, we will discuss how to query the sum of the given range in a segment tree using C++. Read till the end to get a clear idea of the Segment Tree. Let’s use the ar.... Read More

Node and range updates in Segment Tree using C++

By Keshav J

In this tute, we will discuss node & range updates in segment tree using C++. To get clear knowledge, read till the end. Before getting into updates, make sure you get the basi.... Read More

How to play and pause an MP3 file in C++

By Ranjeet V

In this tutorial, we will learn how to play and pause an MP3 file in C++. We will use the mciSendString() function with the required multimedia command string for play and pause op.... Read More

Convert RGB to Hex color code in C++

By Arjun Singh

We are going to code for conversion of RGB i.e red green blue color code to hex code in C++. RGB to Hex color code in C++ RGB i.e. red, green and blue each contain 8 bits each with.... Read More

tellp() and tellg() in File Handling in C++

By Aayush Kumaria

Hey guys, In this tutorial, you will understand what tellp() and tellg() functions are and how they work in C++. So as I explained in my last tutorial (Tutorial: File Handling in C.... Read More

Randomising a Vector in C++

By Paaritosh Sujit

In this article, we will attempt to create a vector having random values inside of it, where the length of the vector will be given through user input. In easy words, we will rando.... Read More

How to play a part of an MP3 file in C++

By Ranjeet V

This tutorial is about how to play a part of an MP3 file in C++. We can write a program in C++ that would play an mp3 audio file using the mciSendString() function. Let’s und.... Read More

Related Posts