You got the plot.
To be clear, "this->plist" is an unambigious way to write down the class member plist and do something with it. In most situations, omitting "this->" is your prerogative, but you introduced a local variable named plist in some function. That means that "plist" now refers to the local variable instead of the class member. It is a FAR better practice to make sure that class members have descriptive and unique names. I sometimes prefix "my", or a leading underscore (which can be troublesome, since the standard reserves all names _^ where ^ is a capital), but you can really use any little thing.Couldn't I could have left off the this-> portion as long as I didn't create another local plist variable? Something about an implicit this-> being used?
The word is suffix.Originally Posted by Elysia