这是个c语言小程序 可是我用build 做了.exe。为什么输入完了它就自动关闭了? 怎么像 ex

2025-03-09 10:58:42
推荐回答(2个)
回答1:

方法有很多,这里说一个:
#include 下面加一句#include
return 0;上面加一句system("pause");

回答2:

system("PAUSE");
return (0);