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

Finding Magnitude of a Complex Number in Python

By Sai Mukesh Reddy Gutha

Hello! In this article, We use Python to get the Magnitude of a Complex Number using a simple snippet. First, let us learn the basics of complex numbers in Python. Complex Numbers .... 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

beta(), betaf() and betal() functions in C++ STL

By Ranjeet V

Hello everyone, in this tutorial, we will learn about beta(), betaf() and betal() function in C++ STL. All these functions are defined in <cmath> header. These are built-in C.... Read More

C++ program to find the median array for Binary tree

By Abinash Reddy

In this article, we will learn how to find the median array for a Binary tree in C++. A median array is an array that formed with help of Inorder, Preorder, Postorder traversal of .... Read More

MasterCard number validation using Regular Expression in Python

By Abinash Reddy

In this article, we will learn how to check whether the given string is a valid MasterCard number or not using Regular Expression in Python. A valid MasterCard number must satisfy .... Read More

howdoi in Python

By Ranjeet V

Hello everyone, in this post, we will learn about an interesting tool howdoi in Python. Python howdoi is a command-line tool that is very helpful especially for beginners. Using th.... Read More

How to get Users of Windows/Linux Systems using Python?

By Sai Mukesh Reddy Gutha

Hello Geek! In this article, we will use Python to get the current users on the Windows and Linux Systems. The method that we are going to use to get the current users is users(). .... Read More