Line 12,44: What are these statements supposed to be doing? They have no effect.
Line 61: You have no function named name(). Did you mean pers.returnNAME() ?
Line 62: You have no function names student(). Did you stud.returnNAME() ?
Line 63: You have no function named personell(). Did you mean pers.returnNAME() ?
Lines 12,44: These lines are unnecessary. Both NAME and MAJOR are strings. Strings are initialized to empty string by default, so no explicit initialization is needed.
class PERSONNEL: Why do you have ID (private) and IDnum (public)?
Line 19: What is this function supposed to be doing? You pass it an argument, but you don;t give the argument a name.
Line 21: You're setting ID to IDnum (which was initialized to 0. Again, what's the purpose of the two ID numbers?