Advertisement
Guest User

Untitled

a guest
Oct 30th, 2012
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. #ifndef COURSE_H
  2. #define COURSE_H
  3.  
  4. #include "Date.h"
  5. #include "Time.h"
  6.  
  7. class Course
  8. {
  9. friend ostream& operator<<(ostream&, const Course&);
  10.  
  11. private:
  12. string Number;
  13. string Name;
  14. string meetDays;
  15. float Units;
  16. Date startDate;
  17. Date endDate;
  18. Time startTime;
  19. Time endTime;
  20.  
  21. public:
  22. Course();
  23. Course(string, string, string, float, Date&, Date&, Time&, Time&);
  24. ~Course();
  25.  
  26. string getNumber()const;
  27. string getName()const;
  28. string getMeetDays()const;
  29. float getUnits()const;
  30.  
  31. Course& setNumber(string);
  32. Course& setName(string);
  33. Course& setMeetDays(string);
  34. Course& setUnits(float);
  35. };
  36.  
  37. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement