// Project 2 for CS 1704 Spring II 2004 // // Programmer: Mason Shea // OS: Windows XP // System: Pentium III 500, 256 MB Memory // Compiler: Visual C++ 6.0, Service Pack 4 // Last modified: February 25, 2004 // // Purpose // The purpose of this file is to declare functions and create an interface // for an object of type organizer. An organizer contains two arrays of size 100, // one full of students and one full of items. It has mutator operations for // adding or deleting a student or item, and iterator operations for printing // certain things out, like all the students, all the items, or just one student // and the items that that student owns. #ifndef ORGANIZER_H #define ORGANIZER_H #include #include #include using std::ifstream; using std::ofstream; #include "students.h" #include "items.h" class Organizer { public: Organizer(); //constructor //Mutator operations void AddStudent(Student, ofstream&); void AddItem(Item, ofstream&); void Delete(string, ofstream&); //Iterator operations void PrintStudents(ofstream&); void PrintItems(ofstream&); void PrintEmail(string, ofstream&); private: Student students[100]; Item items[100]; }; #endif