Posts by Ranjeet V

Author Biographical Info: Not available

How to add attributes in Python metaclass

By Ranjeet V

This tutorial will teach you how to add attributes in python metaclass. As we all know in python an object is an instance of a class. In the same way, a class is an instance of a m.... Read More

Define a member function outside the class in C++

By Ranjeet V

Hello everyone, in this tutorial, we will learn how we can define a member function outside the class in C++. A member function of a class is a function that is declared or defined.... Read More

Advantages of reference variables over pointer variables in C++

By Ranjeet V

This tutorial is about the advantages of reference variables over pointer variables in C++. A reference variable is an alias for a variable whereas a pointer variable points to an .... Read More

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

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

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

How to get the extension of a file in C++

By Ranjeet V

In this tutorial, we will learn how to get the extension of a file in C++. We will create a function and pass the name of the file as an argument and give the output as the extensi.... Read More

How to find the duration or length of an MP3 File in C++

By Ranjeet V

In this tutorial, we are going to learn how to find the duration or length of an MP3 File in C++.  We will use the mciSendString() function which exists in “Windows.h”.... Read More

Related Posts