0

I am little bit confuse about this operator. Can any one tell me what does operator -> internally. And what are the importance of -> in pointer?

Appreciated in advance for help (all daniweb group).

3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by dkalita
0

in a class (or struct)
where c is a pointer to said class and member is a public method of c (can be a public field also)
c->member()
is the same as (*c).member()

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.