typedef struct tagLISTHEADINFO{
CString strName;
SWORD nSQLType;
int nFormat;
bool bWidthMode;
int nWidthImmobility;
float fWidthPercentum; // 这里无法通过编译!!!
}LISTHEADINFO;错误信息如下:
f:\...h(15) : error C3872: '0x3000': this character is not allowed in an identifier
f:\...h(16) : error C2143: syntax error : missing ';' before '}'
f:\...h(16) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
CString strName;
SWORD nSQLType;
int nFormat;
bool bWidthMode;
int nWidthImmobility;
float fWidthPercentum; // 这里无法通过编译!!!
}LISTHEADINFO;错误信息如下:
f:\...h(15) : error C3872: '0x3000': this character is not allowed in an identifier
f:\...h(16) : error C2143: syntax error : missing ';' before '}'
f:\...h(16) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
float fWidthPercentum; // 这里无法通过编译!!!
}LISTHEADINFO;这里我都重新输入了一遍还是一样的
CString strName;
SWORD nSQLType;
int nFormat;
bool bWidthMode;
int nWidthImmobility;
float fWidthPercentum; // 这里无法通过编译!!!
}LISTHEADINFO;我将以上全部重输了一遍,问题解决了!!!