//------------------------------------------------------------------- // File :course.h // Author :Alicia Thorsen // Course :CS1129 // // Course class definition. //------------------------------------------------------------------- #ifndef COURSE_H #define COURSE_H #include "student.h" #include using namespace std; const int NAME_COLUMN_WIDTH = 30; const int NUMERIC_GRADE_COLUMN_WIDTH = 15; class Course { public: Course(); ~Course(); void setName(string name) { courseName = name; } string getName() { return courseName; } void addStudent(string, double); void calcLetterGrades(); void outputCourseData(ofstream&) const; void resize(); Course& operator=(const Course&); private: Student* roster; int numOfStudents; int rosterCapacity; string courseName; }; #endif