用VS2010编C++程序,我输入x的值,点击enter,之后那个黑窗口就弹没了,这怎么解决,求助
发下你的代码看看
在return 前,增加system("pause");并且在文件开头增加#include <stdlib.h>
#include <conio.h> //some code . . . _getch(); //some code . . .
这样呢