|
|
От: | Caracrist | https://1pwd.org/ |
| Дата: | 03.06.10 13:34 | ||
| Оценка: | |||
P> students _obj;
P> init(_obj);
P> MasSt.push_back(_obj);
P> out.write((char*) &MasSt[0], sizeof(MasSt[0]) * MasSt.size());
P> out.close();
P>P> in.read((char*) &MasSt[0], sizeof(MasSt[0]) * MasSt.size());
P> for(int i = 0; i < MasSt.size(); ++i)
P> {
P> cout << MasSt[i].FirstName << endl << MasSt[i].kurs<< endl << MasSt[i].MisceProz << endl;P> }
P>