Pulkit Govrani

I am a front-end developer and a technical writer. I try to share my knowledge of programming through the blogs. You can connect me through LinkedIn.

this Pointer in C++

‘this’ is a reserved keyword in c++. It is used to get the variables or member functions present in the current class. ‘this’ pointer is not available for the friend functions because they are not members of class. It is given as an implicit argument to the member functions. Let’s see the code below to …

this Pointer in C++ Read More »

Structure of C++ Program

A C++ Program includes a set of commands running to obtain the desired result. Every program in C++ is structured in an organized and specific way. It starts from importing header files at the start which is followed by the main function containing the code in its body. //Header files #include <iostream> //Namespace using namespace …

Structure of C++ Program Read More »

C++ Append Vector to Vector

In this tutorial, we will discuss various methods to append vector to vector in C++. Using insert Function We use the insert() function to add multiple elements in a vector. It is a built-in function. There are 3 arguments that need to be passed in the insert function the first argument determines where another vector …

C++ Append Vector to Vector Read More »