我有一个包含枚举的C头文件
typedef enum {leaf, operator} my_type;
现在当我尝试在我的C++程序中包含此标题时,我得到错误"'运算符'之前的预期标识符"
我怎么能摆脱它.
c c++ compiler-construction compiler-errors compilation
c ×1
c++ ×1
compilation ×1
compiler-construction ×1
compiler-errors ×1