Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(ifile.is_open()){
- while( !ifile.eof()) {
- ifile >> num;
- ifile >> tmp;
- ifile >> p.i;
- ifile >> p.j;
- ifile >> p.k;
- ifile >> p.m;
- ifile >> tmp;
- ifile >> tmp;
- ifile >> tmp;
- ifile >> tmp;
- pnts[num] = p;
- } ifile.close();
- } else {
- std::cerr << "Error open file!\n";
- }
Add Comment
Please, Sign In to add comment