// File: StudentVector.h // Prototype of StudentList Class // Container that holds Student #ifndef STUDENTLIST_H #define STUDENTLIST_H #include #include #include "Student.h" using namespace std; typedef vector StudentVector; class StudentList { public: // Constructor does nothing, vector needs no initialization StudentList(){} StudentList StudentList::operator+=(Student); Student *getStudentByName(string); friend ostream &operator<<(ostream &,StudentList); friend istream &operator>>(istream &,StudentList&); friend ifstream &operator>>(ifstream &,StudentList&); private: StudentVector theStudents; }; #endif