In Java you can refer to the current object by doing: this.x = x. How do you do this in C++?
this.x = x
Assume that each of these code examples are part of a clas
The C++ equivalent is this; that is, the keyword is the same.
this