// Assignment 2 // Course class header file // Dan Fraser (1219229) #ifndef COURSE #define COURSE #define IDLEN 6 #define TITLELEN 31 // course class class Course { char course_id[IDLEN]; // course ID number char course_title[TITLELEN]; // course title public: Course(char *courseid, char *coursetitle); // constructor char *key(void); // for list template int equal(char *somekey); // for list template int less_than(char *somekey); // for list template void print(void); // output course info }; // mark class, attribute in association between student<->class and grad<->class class Mark { int mark; // stores a mark public: void change(int my_mark); // changes the mark void print(void); // prints the mark. }; #endif