Difference between -> and point

Please if someone can tell me the difference of use -> and use a . (point)
Also what happend when I use :: in my code.

Thank you!
. is used to access a member of an object.
-> dereferences a pointer and then accesses a member of the pointed-to object (i.e. it's short for *(object).member).
:: is the scope resolution operator.
Topic archived. No new replies allowed.