// Student Class Definitions file #ifndef _STUDENT_H #define _STUDENT_H #include "person.h" #include "linkelt.h" class Student : public Person, public LinkElement { private: float gpa; char year; public: Student() {gpa=0.0;year=0;} Student(const char *n, const char *ss, long bd, float g, int c); void setssn(const char *n) {Person::setssn(n);setkey(n);} void setgpa(float g) {gpa = g;} float getgpa() {return gpa;} void setyear(int c) {year = c;} char getyear() {return year;} virtual LinkElement *makecopy(void); virtual void print(void); }; #endif