Class pointers for c++

Messing about with c++ class pointers I noticed that there are two ways of accessing the class pointer. Using arrow operator or the *dereference. Here is the class and header :