//------------------------------------------------------------------- // File :course.h // Author :Alicia Thorsen // // Definition of the Course class. //------------------------------------------------------------------- #ifndef COURSE_H #define COURSE_H #include "student.h" // NOTE: Cannot store filenames as strings if they are used by the file open // function. Must use character arrays. const char IN_FILE_NAME[] = "input.txt"; const char OUT_FILE_NAME[] = "output.txt"; const int MAX_STUDENTS = 100; const int MAX_NAME_SIZE = 25; const int MAX_NUMERIC_GRADE_SIZE = 15; class Course { public: // Constructor. Course() : numOfStudents(0) {}; void getStudentData(); void calcLetterGrades(); void outputStudentData () const; private: Student roster[MAX_STUDENTS]; int numOfStudents; }; #endif