Description: Introduce something interesting and recode learning process, some articles are written by others, the original link has been given as much as possible, thanks to the original author
next (2149) hexo (1154) hpc pc ia
The program monkey was eaten by the siege lion.
Introduce something interesting and recode learning process, some articles are written by others, the original link has been given as much as possible, thanks to the original author
枚举类型只是一个整数值,如果试图对枚举类型进行算术操作,编译器会给出警告或错误信息。如果没有给出一个枚举成员的整型值,编译器会将上一个枚举成员的值递增1,再赋予当前的枚举成员。如果没有给第一个枚举成员赋值,编译器就给它赋值0。