Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //leemos las combinaciones
- cin.ignore(100, '\n');
- while (cin.peek() != '\n' && cin.peek() != -1) {
- cin >> k;
- cin.ignore(100, '\n');
- //hacer trabajo
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement