The This Pointer

Download c++ eBook


The this pointer is a keyword for C++ therfore there is no library needed to implement this. And do not forget this is a pointer! So you cannot do:


As you access member functions or member variables from pointers using the arrow symbol -> :


Other helpful links to the better understanding of the this pointer :

What is the 'this' pointer?

Related Examples


58 Contributors: 3
Wednesday, October 19, 2016
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial:

Download eBook