在程序末尾添加语句:
system("pause");
再加上头文件
#include <stdlib.h>
这样运行结果后就会显示结果,并提示“请按任意键继续”
posted on 2019-11-25 09:18 丁错儿 阅读(17) 评论(0) 收藏 举报