As per title, sorry for the newbie question, i can't find the explaination anywhere... thank you in advance!
As per title, sorry for the newbie question, i can't find the explaination anywhere... thank you in advance!
It's a member access operator for pointer variables.
Access member of a struct via a pointer.
So if p is a pointer to an instance of some struct type, and m is a member of that struct type, then p->m accesses the member m of the structure pointed to by p. It is syntactically equivalent to (*p).m
Read about this operator, and the rest of them, here:
Operators in C and C++ - Wikipedia, the free encyclopedia
My homepage
Advice: Take only as directed - If symptoms persist, please see your debugger
Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"