00001
00002 #ifndef STUDENTS_H
00003 #define STUDENTS_H
00004
00005 #include <iostream>
00006 #include <vector>
00007 #include <string>
00008 #include "person.h"
00009 #include "ustudent.h"
00010 #include "gstudent.h"
00011
00012 using namespace std;
00013
00025 class Students : private vector<Person *>
00026 {
00027 public:
00028 Students();
00029 Students(string filename);
00030 void print(ostream &out = cout);
00031 bool read(string filename);
00032 double getAvgGPA();
00033 ~Students();
00034
00035 };
00036
00037 #endif // STUDENTS_H
00038