Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
136
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. #include <Windows.h>
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. while(1)
  9. {
  10.  
  11. if (GetAsyncKeyState('A'))
  12. {
  13.  
  14. cout << "Labas" << endl;
  15.  
  16. }
  17. }
  18.  
  19. _getch();
  20. return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement