I was looking at some code a guy at school was writing and he had something I never seen before. Which Is this: ( ->)

For example:

cPerson = addressBook->getEntry(i);

What is that? Could the same code be written like this:

cPerson = addressBook.getEntry(i);
or this
cPerson = addressBook::getEntry(i);

I'm kinda new to classes.

Can someone give me a quick run down of what that is and what it is used for?