Same word: this
Only difference is it is a pointer, so you need to use the -> operator:
void setX(int x)
{
this->x = x;
}
Same word: this
Only difference is it is a pointer, so you need to use the -> operator:
void setX(int x)
{
this->x = x;
}