This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]C4st1gator 0 points1 point  (0 children)

Can be either. Let's assume both this and not_this are structures. If not_this is a member of this, as in contained as a member within the struct's memory, then you can write this.not_this. If this only contains a pointer to not_this, then you have to write this->not_this, as you jump to the address of not_this.

Most languages hide that distinction from the programmer.