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