Advertisement
Guest User

Untitled

a guest
Nov 24th, 2015
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1.  while(wybor != '1' && wybor != '2')  {
  2.  char wybor = _getch();
  3.     if(wybor != '1' && wybor != '2')) {
  4.             std::cout << "Incorrect number or character!" << std::endl;
  5.             Sleep(1000);
  6.             system("cls");
  7.             menu();
  8.     }
  9.  } std::cout << "halo" << std::endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement