Hello readers! In this tutorial, we are going to learn how to set a string null in C++. Let’s have a look at how we can do this. We can do this using the std::string::clear.... Read More
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
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
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
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
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
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
In this topic, we are going to learn how to find median in a stream of integers ie. running integers. First of all, we are going to discuss the Median. Median can be simply state.... Read More