Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int sprawdzWybor()
- {
- char wybor;
- do
- {
- wybor = getch();
- } while(wybor < 49 || wybor > 53);
- cout << wybor << endl;
- return static_cast<int>(wybor - 48);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement