From C ++ a beginner's Guide by Herbert schildt chapter8 page 34
The definition as below:
You can access an object either directly (as has been the case in all preceding examples), or by using a pointer to that object. to access a specific element of an object when using a pointer to the object, you must use the arrow OPERATOR:->. it is formed by using the minus sign followed by a greater-than sign. to declare an object pointer, you use the same declaration syntax that you wowould use to declare a pointer for any other type of data. the next program creates a simple class called p_example, defines an object of that class called OB, and defines a pointer to an object of Type p_example called P. it then uses strates how to access ob directly, and how to use a pointer to access it indirectly.
This means that when you use a pointer to operate an object, you can no longer use the dot operator to access its members '. ', must use arrow operator'-> '.
The following is an example in the Tutorial: