You don't appear to be to be creating or initializing any student objects.
Also you are calling myStudent :: getData() from main() but there does not seem to be a matching implementation. Mind you I'm loosing concentration.
So the above works but is there a way i can get the names to be asked first and then the age? I used your code to just test it out, but once i get to my last person, The .exe crashes. If i use one person at the beginning, the results come up, but give me a weird list of numbers o.O?
Perfect :D Now if only the results worked. Not sure the error because the .EXE just crashes after i enter in the last age for the person =/ (Testing just 6 people)