Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <iostream>
  2. #include <conio.h>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7. char znak= NULL;
  8. while (znak != 'a') {
  9. cout << "Witaj\n";
  10. if (kbhit())
  11. {
  12. znak = getch();
  13. }
  14. }
  15. return 0;
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement