Advertisement
Guest User

Untitled

a guest
Oct 30th, 2012
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. #ifndef COURSESCHEDULE_H
  2. #define COURSESCHEDULE_H
  3.  
  4. #include <iostream>
  5. using namespace std;
  6. #include "Course.h"
  7.  
  8. class CourseSchedule
  9. {
  10. friend ostream& operator<<(ostream&, const CourseSchedule&);
  11.  
  12. private:
  13. string studentName;
  14. string semesterName;
  15. Course* courses;
  16. int maxSize;
  17. int numCourses;
  18.  
  19. public:
  20. CourseSchedule (string, string, int);
  21. ~CourseSchedule();
  22.  
  23. string getStudentName()const;
  24. string getSemesterName()const;
  25. int getNumCourses()const;
  26.  
  27. CourseSchedule& setStudentName(string);
  28. CourseSchedule& setSemesterName(string);
  29.  
  30. void AddCourse (Course);
  31.  
  32. };
  33.  
  34. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement