/* Project 2 for CS 1704, Spring 2004 Programmer: John Christopher Humphreys OS: Windows XP Professional System: Pentium M, 512 MB Compiler: Microsoft Visual Studio.net 2003 Last Modified: February 14, 2004 Purpose- This program will store student data and data of certain items in two arrays. Classes will be created to hold and manage data of each kind, and a class will manage the arrays. Data can be edited, printed, or cleared by the controlling class, and all commands, taken from an input file, will be processed and executed. Format for Comment Block provided by (http://courses.cs.vt.edu/~cs1704/spring2004/Standards/ProgramHeader.txt) */ #ifndef STUDENT_H // #define STUDENT_H // Only defines the class if it hasn't been defined already #include #include #include #include #include using namespace std; class Student { public: Student(); // Default Constructor string PrintName() const; // Return name of Student __int64 PrintNumber() const; // Return number of Student string PrintE_mail() const; // Return e-mail of Student string PrintAddress1() const; // Return address line 1, as described below string PrintAddress2() const; // Return address line 2, as described below string PrintCity() const; // Return city of Student string PrintState() const; // Return state of Student int PrintZipcode() const; // Return Zipcode of student string PrintOther() const; // Return Other comment of Student void AddName(string); // Add name of Student void AddNumber(__int64); // Add number of Student void AddE_mail(string); // Add e-mail of Student void AddAddress1(string); // Add address line 1, as described below void AddAddress2(string); // Add address line 2, as described below void AddCity(string); // Add city of student void AddState(string); // Add state of student void AddZipcode(int); // Add zipcode of student void AddOther(string); // Add Other comment of Student // Design Change, delete functions were created and used rather than using the add functions void DeleteName(); // Delete name of Student void DeleteNumber(); // Delete number of Student void DeleteE_mail(); // Delete e-mail of Student void DeleteAddress1(); // Delete address line 1, as described below void DeleteAddress2(); // Delete address line 2, as described below void DeleteCity(); // Delete City of student void DeleteState(); // Delete State of student void DeleteZipcode(); // Delete zipcode of student void DeleteOther(); // Delete Other comment of Student private: string Name; // Name of Student __int64 Number; // Phone Number of Student string E_mail; // E-mail address of Student string Address1; // Address Line 1 of Student - Number and Street string Address2; // Address Line 2 of Student - Apartment Letter or Number string City; // City of Student string State; // State of Student int Zipcode; // Zipcode of Student string Other; // Other comment about Student }; #endif /*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. */