整数常数被识别为非法的位置. 检查一下,是不是有个常数位置放错了。include "stdafx.h"#include <string>using namespace std; class Data{public: Data(int RecordIDorTmpID):RecordID(-1),tmpID(RecordIDorTmpID){}; private: int tmpID; // 临时ID int RecordID; // 记录...
整数常数被识别为非法的位置. 检查一下,是不是有个常数位置放错了。include "stdafx.h"#include <string>using namespace std; class Data{public: Data(int RecordIDorTmpID):RecordID(-1),tmpID(RecordIDorTmpID){}; private: int tmpID; // 临时ID int RecordID; // 记录...
整数常数被识别为非法的位置.检查一下,是不是有个常数位置放错了。如果找不出来,可以把代码发给我,我帮你看看。希望能帮助到你。
F:\Study\Cfiles\A\test.c(7) : error C2143: syntax error : missing ')' before ';' F:\Study\Cfiles\A\test.c(7) : error C2059: syntax error : ')' F:\Study\Cfiles\A\test.c(8) : error C2146: syntax error : missing ';' before identifier 'printf' Error executing cl.exe. ...
ErrorC2058:constantexpressionisnotintegral(常量表达式不是整型) errorC2059:syntaxerror:';'(与';'有关的语法错误) 此时不仅要检查在错误信息中列出的行,还要检查该行上面的行,以找到错误的原因。 errorC2063:'XXX':notafunction('XXX'未声明为函数) ...