Advertisement
DraKiNs

[COD] Contar Cliques Mouse

Jul 22nd, 2011
392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. #include <windows.h>
  2. #include <ctime>
  3. #include <stdio.h>
  4. #include <iostream>
  5.  
  6. int main()
  7. {
  8.     int contar = 0;
  9.     while(true)
  10.     {
  11.         Sleep(100);
  12.        
  13.         if(GetAsyncKeyState(VK_LBUTTON))
  14.         {
  15.             contar++;
  16.             printf("Clicou %d \n", contar);
  17.         }
  18.     }    
  19.     return false;
  20. }
  21.  
  22. // Criado por Bruno da Silva
  23. // www.ips-team.blogspot.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement