// array.h #ifndef array_h #define array_h #include "student.h" #include "item.h" class array { public: array(); ~array(); void read_students(); void print_students(ofstream&); // prints all entries in student.txt void print_items(ofstream&); // prints all entries in item.txt void print_email(char e_mail[], ofstream&); // prints student and item info with specified email address // adds an entry to items array bool add_item(char item_name[], char mediaType[], char mediaAuthor[], char mediaOwner[], char mediaPrice[], char mediaAvail[]); // adds an entry to students array bool add_student(char stu_name[], char stu_phone[], char stu_email[], char stu_add1[], char stu_add2[], char stu_city[], char stu_state[], char stu_zip[], char stu_other[]); bool delete_entry(char e_mail[]); // deletes both student and item entry with specified email address private: student studentArray[100]; item itemArray[100]; int stu_count; int item_count; }; #endif