void management::itxt()
{
ifstream ifile;
ifile.open("D:\\学生成绩(新).txt");
string id, name;
int math, eng, phy,chi,che,bio;
do
{
ifile >> id >> name >> math >> eng >> phy >> chi >> che >> bio;
student s(id, name, math, eng, phy,chi,che,bio);
stu.push_back(s);
} while (!ifile.eof());
ifile.close();
}
这是为什么啊