Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (!in.eof()) {
- in >> temp_id;
- in.get();
- in.getline(temp_name_import, 50, ':');
- in.getline(temp_description_import, 200, ':');
- in >> temp_is_taken;
- books.push_back(temp_id, temp_name_import, temp_description_import, temp_is_taken);
- in.ignore();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement