How to return null vector in C++

By Joyeeta Choubey

Hello folks! In this tutorial, we are going to learn how we can return a null vector in C++. Before going deep into the topic let’s understand what are null vectors. Null Vec.... Read More

Remove empty elements from a vector in C++

By Aastha Jain

In this tutorial, we will discuss an easy way using which you can remove empty elements from a vector in C++. So let’s get started.   1) Including header file:- Before s.... Read More

Take input from the user and save it in a .txt file in C++

By Bhargav

In this tutorial, we will learn how to take input from users and save that in a .txt file in C++. While writing this program we use fstream and create a txt file named new file and.... Read More

Create a URL shortener in C++

By Neeraj Dusa

In this tutorial, we will learn how to shorten a URL in C++. URL shortening is used to create a unique shorter alternative for long URLs. These save a lot of space while storing, d.... Read More

Remove last element from an array in JavaScript

By Manoj Srinivas

In this tutorial, we will learn how to remove the last element from an array in JavaScript. Removing the last element from an array in JavaScript Variables used in code arr –.... Read More

NumPy where() with multiple conditions in Python

By Kanduri Jayanth Sri Ram

In this tutorial, we learn how to use the numpy where() method in Python. NumPy where() in Python: Topics covered in this tutorial are, Syntax of numpy.where() Using numpy.where() .... Read More

Define constant variables in C++ header

By Joyeeta Choubey

Hello readers! In this tutorial, we are going to learn how we can define constant variables in the C++ header file. In C++ constant variables are defined as the types of variables .... Read More

Map lower_bound() function in C++ STL

By Aastha Jain

Welcome learners!! In this tutorial, you will be learning about the lower_bound function in Map in C++ STL. Before diving into the code let’s discuss it briefly. Map lower_bo.... Read More

Related Posts