#ifndef CONTROLLER_H #define CONTROLLER_H #include "student.h" #include "media.h" #include using namespace std; class controller{ private: student studentArray[500]; //Array of student information item itemArray[500]; //Array of item information unsigned int numItems; //Total number of items being stored unsigned int numStudents; //Total number of students public: controller(); bool addStudent(ifstream&, ofstream&); //Add student to array bool initializeStudent(ifstream&, unsigned int&); //Initialize student array bool initializeItem(ifstream&, unsigned int&); //Initialize item array bool addItem(ifstream&, ofstream&); //Add item to array void deleteEmail(ofstream&, string); //Delete student from array void printEmail(ofstream&, string, string); //Prints the information of one student void printStudents(ofstream&); //Prints all students in array void printItems(ofstream&); //Print all the items ~controller(); }; #endif