system函数执行命令
c语言吧
全部回复
仅看楼主
level 5
HB921116
楼主
system函数怎么让它实现输入的命令,例如
char c[100];
scanf("%S",c);
system("c");
有办法实现这个吗?
2012年05月07日 08点05分
1
level 8
不知道huy
scanf("%s",&c);system("c");vc2010可以
2012年05月07日 09点05分
2
level 13
Zero零式0123
不要system中的双引号应该可以
2012年05月07日 16点05分
3
1