Possible Duplicate:
When do I use a dot, arrow, or double colon to refer to members of a class in C++?
Various examples that I see, I've seen them use ::
, ->
and .
. I usually get confused between the last 2. Can someone help me making it clear about the usage of ->
and .
in VC++
about where can I use it and what is the difference!