I am trying to learn how to use classes, the course I am learning from is in java but I am trying to bring it over to c++ since i think it will be more useful, but it is causing me some issues. I have copied the basic setup they have given which is a school/student class and changed it to c++ but I can not get it to run as I am getting an issue which says "non-standard syntax; use '&' to create a pointer to member" for each of the getter methods. So I understand that it wants me to use a pointer, but I do not really understand why, as I have not really been introduced to pointers. Why can I not just use the code the way I am currently trying?