Guest User

Untitled

a guest
Dec 1st, 2014
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. while(1){
  2. F>>instance[i].name>>instance[i].surname>>instance[i].bornYear>>instance[i].group;
  3. if (F.eof()) break;
  4. cout<<i<<": "<<instance[i].name<<" "<<instance[i].surname<<" "<<instance[i].bornYear<<" "<<instance[i].group<<"\n";
  5. i++;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment