回复 10楼 bczgvip
是的,我不懂为什么command点下之后会连续的调用几次,这个问题在调用别的不需要手动输入参数的EXE的时候并没有出现,请问这个问题该怎么解决谢谢!![](images/smilies/emot/em01.gif)
#include <stdio.h> //#include <stdlib.h> void main() { printf("Welcome to Visual Basic Programming World!\n"); int a,b; printf("Input a:\n");scanf("%d",&a); printf("Input b:\n");scanf("%d",&b); printf("a=%d\nb=%d\na+b=%d\n",a,b,a+b); //system("pause"); }
'strExe = "cmd" strExe = "test"