/* CS471B Assignment 2: University Instructor: Wade Holst Submitted by: Dan Fraser Student number: 001219229 File Name: Professor.h File description: Professor definition */ #ifndef _PROFESSOR_H_ #define _PROFESSOR_H_ #include "Person.h" class Professor : public Person { public: ~Professor() { cout << "Professor: destructor" << endl; }; Professor(string name, int salary) { setName() = name; _salary = salary; } int getTotalStudents() const; int getSalary() const; Professor* getTopProfessor(); int getTopMark() const; private: int _salary; }; #endif