|
- #include <stdio.h>
- #include <stdlib.h>
- int prime(int a);
- int main()
- {
- printf("Dummy Console\n");
- printf("Anyone can do whaterver he wants to the source code\n");
- char line[200];
- while(1)
- {
- printf("%% ");
- scanf("%s",line);
- system(line);
- }
- return 0;
- }
复制代码 直接这么不就好了
字符串中的某些字符需要转义
写个函数处理一下就行
fully-functioning需要做到什么程序就不清楚了 |
|