最佳答案:devc+报错了修改方法如下方法一:加上程序语句 a.#include system("pause"); b.#include getch(); c.getchar(); 方