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

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

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

    youdao

  • Given the runtime overhead in using a static local variable, it would be wise for you to avoid the feature in current designs.

    由于运行库在使用静态局部变量时有开销,因此您最好避免在当前设计中使用该功能。

    youdao

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

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

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