system('pause'); 運行時報錯:error C2015:常量中的字符太多
#include?<stdlib.h> int?main(void) { ????system('pause'); ????return?0; }
錯誤
??? 1?? ?error C2015: 常量中的字符太多?? ?d:\c++\test\test\test.cpp
??? 2?? ?IntelliSense:? 字符常量中的字符過多?? ?d:\C++\test\test\test.cpp
Visual Studio 2013
2017-05-23
pause應該用雙引號吧
2017-05-15
需要增加頭文件#include <windows.h>吧