Rah*_*ngh -1 c c++ compiler-construction compiler-errors compilation
我有一个包含枚举的C头文件
typedef enum {leaf, operator} my_type;
现在当我尝试在我的C++程序中包含此标题时,我得到错误"'运算符'之前的预期标识符"
我怎么能摆脱它.
Col*_*lin 7
运算符是C++中的保留字.将enum其他部分命名为其他部分.
enum
归档时间:
11 年,10 月 前
查看次数:
90 次
最近记录: