go top

enumeration constant

  • 枚举常量

网络释义

  枚举常量

5、枚举常量enumeration constant):以关键字enum进行声明,对于没有初始化的枚举常量,其值为前一常量值加1,依次递增;可以给任意常量赋值;

基于38个网页-相关网页

短语

Enumeration constant syntax error 枚举常数语法错误 ; 枚举常量语法错

unqualified enumeration constant name required 这是编译器会显示错误

Enumeration e constant syntax error 枚举常数语法错误

双语例句

  • Embedded statements are not allowed in constant expressions, such as the value of an enumeration constant, the width of a bit-field, or the initial value of a static variable.

    常量表达式比如枚举型常量、宽度或是静态变量的初始允许使用在这种声明中的。

    youdao

  • It is needed when there should be a specific list of constant values to be used for the simple type defined by the enumeration.

    枚举定义简单类型使用常数特殊列表时,需要这种类型了。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定