Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<math.h>
- #include<stdlib.h>
- #include<string.h>
- void wait(long n)
- {
- }
- int main()
- {
- printf("Input a command line function: ");
- char input[64];
- fgets(input, 64, stdin);
- int res = _stricmp(input,"Exit");
- printf(input);
- printf("\n%d\n", res);
- system("pause");
- if (_stricmp(input,"EXIT") != 10)
- {
- system(input);
- system("pause");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement