Guest User

Untitled

a guest
Jul 15th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. if(ifile.is_open()){
  2. while( !ifile.eof()) {
  3. ifile >> num;
  4. ifile >> tmp;
  5. ifile >> p.i;
  6. ifile >> p.j;
  7. ifile >> p.k;
  8. ifile >> p.m;
  9. ifile >> tmp;
  10. ifile >> tmp;
  11. ifile >> tmp;
  12. ifile >> tmp;
  13. pnts[num] = p;
  14. } ifile.close();
  15. } else {
  16. std::cerr << "Error open file!\n";
  17. }
Add Comment
Please, Sign In to add comment