错误:
1>Compiling...
1>InterfaceStabilityTestDlg.cpp1>.\InterfaceStabilityTestDlg.cpp(25) : error C2143: syntax error : missing ';' before '<'
1>.\InterfaceStabilityTestDlg.cpp(25) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
解决方法:
方法一:#include <vector> 前加上 using namespace std;
方法二:vector<CString> g_testCodes; 改成 std::vector<CString> g_testCodes;