Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<math.h>
  3. #include<stdlib.h>
  4. #include<string.h>
  5.  
  6. void wait(long n)
  7. {
  8. }
  9. int main()
  10. {
  11. printf("Input a command line function: ");
  12. char input[64];
  13. fgets(input, 64, stdin);
  14. int res = _stricmp(input,"Exit");
  15. printf(input);
  16. printf("\n%d\n", res);
  17. system("pause");
  18. if (_stricmp(input,"EXIT") != 10)
  19. {
  20.  
  21. system(input);
  22. system("pause");
  23. }
  24.  
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement