// Student.h #include #include #include using namespace std; class Student { private: // start with member variables string first_name_; // ending _ is just a naming convention to // indicate these are private member variables string last_name_; string major_; int rin_; // 660123456 // Date incoming_year_; // Date expected_date_of_graduation_; // Date birthdate_; vector grades_; // numeric course grades (0.0-100.0) double gpa_; // running GPA value double grades_sum_; // running sum of grades (to help calculate GPA) public: // Constructors Student(); // If this is omitted, this is automatically generated // (unless other constructors are specified) Student( const Student& s ); // also auto-generated as necessary Student( const string& first_name, const string& last_name, int rin ); // Accessor functions string get_last_name() const { return last_name_; } string get_first_name() const { return first_name_; } double get_gpa() const { return gpa_; } // Mutator functions void add_grade( double grade ); }; ostream& operator<< ( ostream& os, const Student& s );