关于枚举类型

【求助】关于枚举类型该怎么处理?[解决办法]Enumerations behave like integers, but it is common for a co

【求助】关于枚举类型

该怎么处理?
关于枚举类型

[解决办法]
Enumerations behave like integers, but it is common for a compiler to issue a warning when an object of a particular enumeration is assigned something other than one of its constants, or an expression of its type.