Posts by Ranjeet V

Author Biographical Info: Not available

Pure virtual destructor in C++ with code example

By Ranjeet V

In this post, we will learn about pure virtual destructor in C++. We can have a pure virtual destructor in a C++ program, provided the destructor has a function body. The reason be.... Read More

Elias Gamma Encoding in Python

By Ranjeet V

In this tutorial, we are going to learn Elias Gamma Encoding in Python. Elias Gamma Encoding has been developed by Peter Elias and it is used to encode a sequence of positive integ.... Read More

isunordered() function in C++

By Ranjeet V

In this post, we will see isunordered() function in C++. This is an inbuilt function and defined in <cmath> header file. Let’s see how we can use this function in a C++.... Read More

std::mismatch() in C++ with examples

By Ranjeet V

In this tutorial, we are going to learn about a useful function of C++ STL that is the mismatch() function. This function is defined in the ‘algorithm’ header in C++. T.... Read More

Difference Between json.dump() and json.dumps() in Python

By Ranjeet V

In this Python tutorial, we will discuss the difference between json.dump() and json.dumps(). As we know, JSON stands for JavaScript Object Notation. It is a lightweight data forma.... Read More

C++ Program to check if a number is Multiply Perfect Number

By Ranjeet V

In this post, we will implement a C++ program to check if a number is Multiply Perfect Number. What’s a Multiply Perfect Number? First, let us understand what is a Multiply-P.... Read More

How to convert string to char array in C++

By Ranjeet V

In this tutorial, we will learn how to convert a string into a character array in C++. There are multiple ways to convert a string to a char array in C++. Let’s discuss some .... Read More

Implement an Interface using an Enum in Java

By Ranjeet V

Hello everyone, in this post, we will learn how to implement an interface using an Enum in Java. As we know, Enums are used to represent a group of named constants. For example, we.... Read More