I need to enter information into a vector inside a class...here it goes--


class aStudent
{
public:

string names;
vector <int> scores;
double average;
char grade;
};

and when I call this class--

void (istream infile, vector<aStudent> classList)

aStudent student;

infile(input from a file -- student.dat) >> student.name >> ????

how do I import this information into this vector inside this class...I know its no too hard but I cant find it anywhere... once again...anything will be very appreciated...thx in advance