I think this is an operator in C or maybe also in C++
my question is : what does this operator "->" do?

sevalue1 = currMb -> mode[i]

or maybe you have a better example.

ptr->member is the same as (*ptr).member.

It is exactly equivalent to dereferencing then using the . operator (unless it had been overloaded).

a->b is exactly the same as (*a).b.
Topic archived. No new replies allowed.