Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Adjunct : public Faculty, public PerCourse, public PartTime {
- public:
- // constructors and destructor
- Adjunct() : Faculty(), PerCourse(), PartTime() { _maxCourses = "NoCourses"; }
- Adjunct(string firstName, string lastName, string address, unsigned _IDNumber,
- string SSN, string department, unsigned feePerCourse, unsigned partTime);
- // NTT(const Faculty&); // copy constructor
- ~Adjunt() { cout << "Adjunct destructor called for " << getFirstName() + " " + getLastName() << endl; }
- void output(ostream& out) const { out << *this; }
- // accessor functions
- unsigned getMaxCourses() const { return _maxCourses; }
- friend ostream& operator<< (ostream&, const Adjunct&);
- Adjunct ():
- private:
- unsigned _maxCourses;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement