+ 3

What is this->x=x? این چیه؟

این چیه؟ با توضیح what is it?please explain this->x=x

20th Jul 2017, 6:34 PM
Mahdi Senobari
Mahdi Senobari - avatar
3 Answers
+ 4
it means assign variable's x value to current object's x field
20th Jul 2017, 6:38 PM
Eligijus Silkartas
Eligijus Silkartas - avatar
+ 3
this->x is like object.x this->get(); is like object.get(); Ask if you don't understand
20th Jul 2017, 6:38 PM
Jojo
+ 1
Exactly
20th Jul 2017, 6:39 PM
Jojo