Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. while (!in.eof()) {
  2.         in >> temp_id;
  3.         in.get();
  4.         in.getline(temp_name_import, 50, ':');
  5.         in.getline(temp_description_import, 200, ':');
  6.         in >> temp_is_taken;
  7.         books.push_back(temp_id, temp_name_import, temp_description_import, temp_is_taken);
  8.         in.ignore();
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement