// Project 2 for CS 1704 Spring 2004 // // Programmer: Phil Wallace // OS: Windows XP Professional // System: Pentium 4 2200, 768 MB Memory // Compiler: Visual C++ .NET // Last modified: February 22, 2004 // // Purpose: // The purpose of this class is to store data on a type of student // the user inputs /* On my honor: - I have not discussed the C++ language code in my program with anyone other than my instructor or the teaching assistants assigned to this course. - I have not used C++ language code obtained from another student, or any other unauthorized source, either modified or unmodified. - If any C++ language code or documentation used in my program was obtained from another source, such as a textbook or course notes, that has been clearly noted with a proper citation in the comments of my program. - I have not designed this program in such a way as to defeat or interfere with the normal operation of the Curator System. Phil Wallace*/ #include "student.h" //default constructor student::student() { name = ""; //name of student phone = ""; //phone number email = ""; //email of student add1 = ""; //address 1 add2 = ""; //address 2 city = ""; //city of student state = ""; //state of student zip = ""; //zip code of student other = ""; //other notes } void student::scleanup() { name = ""; //name of student phone = ""; //phone number email = ""; //email of student add1 = ""; //address 1 add2 = ""; //address 2 city = ""; //city of student state = ""; //state of student zip = ""; //zip code of student other = ""; //other notes } bool student::operator ==(student &rhs) { if((name == rhs.name) && (phone == rhs.phone) && (email == rhs.email) && (add1 == rhs.add1) && (add2 == rhs.add2) && (city == rhs.city) && (state == rhs.state) && (zip == rhs.zip) && (other == rhs.other)) return true; return false; }