#ifndef ARRAYS_H #define ARRAYS_H #include #include #include #include #include "Student.h" #include "Item.h" using namespace std; const int Size=100; class Arrays { public: Arrays(); Arrays(Arrays &); bool AddStudent(ifstream &); bool AddItem(ifstream &); bool Delete(string &); void PrintStudents(ofstream &); void PrintItems(ofstream &); void Print(string &, ofstream &); bool FindStud(string &); bool FindItm(string &); private: Student Stud[Size]; Item Itm[Size]; int FoundStud[Size]; int FoundItm[Size]; int StudUsed, ItmUsed, FoundStudUsed, FoundItmUsed; void ShiftLeftStud(int &); void ShiftLeftItm(int &); void FoundStudDelete(); void FoundItmDelete(); }; #endif