Posts by Neeraj Dusa

Author Biographical Info: Not available

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

StringStream in C++

By Neeraj Dusa

In this tutorial, we will see how to use stringstream in C++ and understand by seeing some examples. In C++, we have string stream, which allows string to be taken as a stream, whi.... Read More

Vector rbegin( ) and rend( ) function in C++

By Neeraj Dusa

In this tutorial, we will understand how to use rbegin( ) and rend( ) functions in C++ STL. In C++, we have vectors that can automatically add or decrease the size which doesn̵.... Read More

Iterate vector backwards in C++

By Neeraj Dusa

In this tutorial, one can get to know how to iterate a vector from backward in C++. There are 3 methods to iterate a vector backward. In arrays, if we wanted to increase or decreas.... Read More

Generate random 2D array in C++

By Neeraj Dusa

In this tutorial, we will learn how to generate a random 2D array in C++. We use rand( ) and srand( ) functions in this tutorial. Please refer How to generate random numbers betwee.... Read More

Generate random number between 1 to 100 in C++

By Neeraj Dusa

In this tutorial, we will see how to generate a random number between 1 to 100 in C++. rand( ) function in C++ It’s an inbuilt function in c++, which returns a random number .... Read More

How to return a vector in C++

By Neeraj Dusa

In this tutorial, we will discuss how to return a vector in C++. There are 2 ways to return a vector in C++ i.e. by value and by reference. We will see which one is more efficient .... Read More

Remove URL from a string in C++

By Neeraj Dusa

In this tutorial, one can get to know how to use regular expression and how to use it for removing a URL from a given string in C++. Regular Expressions Regular Expressions are a .... Read More

Related Posts