well when you want to call a function using pointers you usde ->
Example :
We have a class Student
and this class has the function getstudentname();
in the main :
Code:
void main()
{
Student s;
Student *sptr;
sptr=&s;// sptr is pointing to all the functions of s
so we use :
sptr->getstudentname(); to use the function of s