expected identifier before numeric constant

症状:

expected identifier before numeric constant
expected `}' before numeric constant
expected unqualified-id before numeric constant
expected declaration before ‘}’ token

原因: 枚举类型 或者 里面的变量跟别人冲突了,eg 原来的定义是enum truncScoreType {32Dim,64Dim} sType;

解决办法:

enum truncScoreType {32Dim_myType,64Dim_myType} sType;

上一篇:PMBOK 项目管理 九大知识领域和五大流程


下一篇:UG资料