// Project 2 for CS 1704 Spring 2004 // // Programmer: Deborah A Thompson // OS: Windows XP Professional // System: Pentium III 500, 256 MB Memory // Compiler: Visual C++ 6.0, Service Pack 4 // Last modified: Febraury 23, 2004 // // Purpose: This class, Student, will hold student information. // Each "student" should store that student's name, phone number, // email address, street name with number, apartment letter and/or // number, city, state, zip code, and other. (We will assume each // student has standard U.S. addresses). #include #include "Constants.h" #ifndef STUDENT_H #define STUDENT_H using namespace std; class Student { public: //student constructor sets defaults Student(); //student deconstructor ~Student(); //Updates student information void Update(string inName, string inPhone, string inEmail, Address inAddress, string inOther); //view email of student string ViewEmail(); //view all values of student information void ViewAll(string& inName, string& inPhone, string& inEmail, Address& inAddress, string& inOther); private: string Name, //student name Email, //student email address Other, //student other information Phone; //student phone number Address sAddress; //student addresss }; #endif