go top

static local variable

网络释义

  静态局部变量

C++中有两种静态变量: (1) 静态局部变量(static local variable),这种变量是在函数调用结束后不消失而保留原 值,即存储单元不释放,在下回调用时,该变量的保留上一次函数调用结束时的值。

基于16个网页-相关网页

短语

local static variable 本地静态变量

有道翻译

static local variable

静态局部变量

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • This field will hold the value of the static local variable I in GetMessage.

    字段GetMessage中保留静态局部变量i

    youdao

  • An exception of this type is thrown if a static local variable fails to initialize.

    如果静态区域变数无法初始化,会掷回这个别的例外状况。

    youdao

  • You can declare a static local variable within a class, that is, inside a procedure in that class.

    可以初始静态区域变数的值,当做宣告的一部分。

    youdao

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

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

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