Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef COURSE_H
- #define COURSE_H
- #include "Date.h"
- #include "Time.h"
- class Course
- {
- friend ostream& operator<<(ostream&, const Course&);
- private:
- string Number;
- string Name;
- string meetDays;
- float Units;
- Date startDate;
- Date endDate;
- Time startTime;
- Time endTime;
- public:
- Course();
- Course(string, string, string, float, Date&, Date&, Time&, Time&);
- ~Course();
- string getNumber()const;
- string getName()const;
- string getMeetDays()const;
- float getUnits()const;
- Course& setNumber(string);
- Course& setName(string);
- Course& setMeetDays(string);
- Course& setUnits(float);
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement