// The student class which holds the student information #ifndef STUDENT_H #define STUDENT_H #include #include #include using namespace std; class student { // Private data members private: string name, // the student's name(first MI last) email, // the student's email address street_name, // the street the student lives on(address line 1) apartment, // the apartment of the student(address line 2) cityName, // the city the student lives in state, // state abberiviation other; // other info int zip, // the zip code area, // area code of phone # first, // first 3 digits of phone # second; // last 4 digits of phone # // Public functions public: // The constructor student(string = "", string = "", string = "", string = "", string = "", string = "", string = "", int = 0, int = 0, int = 0, int = 0); // Reporter functions string get_name(); string get_email(); string get_street_name(); string get_apartment(); string get_cityName(); string get_state(); string get_other(); int get_zip(); int get_area(); int get_first(); int get_second(); // Mutators void set_name(string); // set student's name void set_phone(int, int, int); // set student's phone void set_email(string); // set email void set_street_name(string); // set street name void set_apt(string); // set apartment info void set_city(string); // set city void set_state(string); // set state void set_info(string); // set other infomation void set_zip(int); // set zip code // Overloaded operators friend ostream& operator<<(ostream&, const student&); student& operator=(const student& RHS); }; #endif