lundi 16 mars 2020

Scope Resolution Operator Versus this pointer in C++? ~from https://ift.tt/2wUZRXK

https://www.geeksforgeeks.org/scope-resolution-operator-or-this-pointer-in-cpp/ This is a post on https://www.geeksforgeeks.org/ I don't really understand the Conclusion:".. is scope resolution operator is for accessing static or class members and this pointer is for accessing object members when there is a local variable with same name."

Hope u can explain for me in more detail, thanks!!

Aucun commentaire:

Enregistrer un commentaire