// File: StudentVector.cpp // Implementation of StudentList Class // Container that holds Students #include #include "StudentVector.h" using namespace std; StudentList StudentList::operator+=(Student S) {theStudents.push_back(S); sort(theStudents.begin(),theStudents.end()); return(*this); } Student *StudentList::getStudentByName(string name) {int i; for (i=0;i>(istream &source,StudentList &SL) {Student S; source >> S; SL+=S; return(source); } ifstream &operator>>(ifstream &source,StudentList &SL) {Student S; while (!source.eof() && source >> S) SL+=S; return(source); }