LinuxUser95

Untitled

Sep 28th, 2018
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.35 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <thread>
  4.  
  5. using namespace std;
  6.  
  7. void zbieracz();
  8. void mouse();
  9.  
  10. int main()
  11. {
  12.     thread first(mouse);
  13.     thread second(zbieracz);
  14.     first.join();                
  15.     second.join();
  16. return 0;
  17. }
  18.  
  19. void zbieracz()
  20. {
  21.    
  22.         system("python zbieracz.py");
  23.    
  24. }
  25. void mouse()
  26. {
  27.     system("python klikacz.py");
  28. }
Advertisement
Add Comment
Please, Sign In to add comment