使用VS2010运行程序,黑屏一闪而过,说程序“[4176] char.exe: 本机”已退出,返回值为 0 (0x0)
解决方法是:
在引用头文件时,加上#include "stdlib.h "
在return 0前加上system(“pause”)。
使用VS2010运行程序,黑屏一闪而过,说程序“[4176] char.exe: 本机”已退出,返回值为 0 (0x0)
解决方法是:
在引用头文件时,加上#include "stdlib.h "
在return 0前加上system(“pause”)。