//------------------------------------------------------------------- // 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 MAX_STUDENTS = 100; const int NAME_COLUMN_WIDTH = 30; const int NUMERIC_GRADE_COLUMN_WIDTH = 15; class Course { public: Course() : numOfStudents(0) {} void setName(string name) { courseName = name; } void addStudent(string, double); void calcLetterGrades(); void outputCourseData(ofstream&) const; private: Student roster[MAX_STUDENTS]; int numOfStudents; string courseName; }; #endif