发布网友
共1个回答
热心网友
这个和IDE有关。你用的应该是dev c++之类的。
这时候你需要在return 0;前加上getch();
或者加上头文件#include<stdlib.h>,在return 0;前加上system("pause");