nkk71

Untitled

Oct 10th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <conio.h>
  4.  
  5. int main () {
  6. char answer = ' ';
  7.  
  8. system("python3 tools/source/superr.py");
  9.  
  10. while (answer != 'q' && answer != 'Q') {
  11. printf("\n\n\033[0m\033[32m\"Q\" to Quit, or \"R\" to Restart, then press ENTER\033[0m\n");
  12. answer = _getch();
  13.  
  14. if (answer == 'r' || answer == 'R')
  15. system("python3 tools/source/superr.py");
  16. }
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment