On the basis of a thorough analysis of the methods of declaration and accessing to the static data member in C++ language,authors point out the abuse of utilizing global variable to implement the shared data in program design,and at the same time give out the ways how a static data member replaces the global variable and questions to be paid attention to in using static data member.
深入分析了C++语言中类静态数据成员的声明和访问方法,指出了程序设计中利用全局变量来实现数据共享的弊端,同时给出了利用类静态数据成员取代全局变量的方法以及在程序设计中使用类静态数据成员时应注意的问题,详细阐述了类静态数据成员在程序设计中的作用,并举了相应的实例来说明如何正确使用静态数据成员。
The article starts from discussing the concept of global variable in C#,extends to the definition and usage of global used variables with detailed analysis and explanations from different angle and level.
本文从全局变量的概念着手,为C#的初学者,尤其是有C++基础的程序员,从不同角度、不同应用层次对全局变量的定义和使用方法进行了详细的分析和说明。
By specially arranging the placement of variables in the stack and accessing the local variables by using as much auto-increment/auto-decrement addressing mode as we can,we can decrease the amount of address arithmatic instruction and promote the program performance.
通过合理地安排变量在堆栈上的存储位置,尽可能多地使用自增量/自减量寻址方式来来访问局部变量,从而减少地址运算指令的数量,提高程序性能。
In advanced language program, the side effect of the subprogram is referred that the subprogram (procedure or function) change public variable or no local variable.
在C语言子程序中由于使用了全局变量 ,或是使用了静态变量 ,或是使用了指针参数 ,从而产生副作用。
It seldom happens that all the determining variables on the right-hand side of any single equation are exogenous.
任何单一方程式的右方的独立变量并非都是局外变量。
View or modify the outer package global variable settings for the Execute Package task.
查看或修改“执行包”任务的外部包全局变量设置。
Exogenous vs. induced variables
外生变量和引致变量
Cannot Initialize local variables
不能初始化局部变量
Thread local variables cannot be ABSOLUTE
线程局部变量不能是ABSOLUTE
For loop control variable must be simple local variable
FOR循环控制变量必须为简单局部变量
An invariant quantity, function, configuration, or system.
不变量不变的数量、作用、布局或系统
Thread local variables cannot be local to a function
线程局部变量对函数不能是局部的
From ‘Outsiders’ to ‘Players’:The Shift in the Research Concept of Psychology
从“局外人”到“局中人”:心理学研究理念的演变
t invariant estimate of location parameter
局部参数的最佳不变量估计;局部参数的最佳不变量估计
Incrementing a global variable is 2 times slow than a local var.
递增一个全局变量要比递增一个局部变量慢2倍。
Trade Development:the Boost Change Form Exogenous to Endogenous Variable;
外贸增长:从外生变量推动转变到内生变量推动
The Change and Influence of the Open Pattern in the Tang Dynasty
唐代对外开放格局的变化及其影响
China's Grand Diplomacy:Change of Configuration,Interest and Environment
中国大外交:格局、利益和环境的变化
Histology of extraocular muscle after direct injection of insulin-like growth factor-Ⅰ
眼外肌局部注射IGF-Ⅰ的组织学变化
Exogenous variables can include lagged values of endogenous variables.
外生变量可以包括内生变量的后滞值。
You can map global variables to input parameters.
可以将全局变量映射到输入参数。
Object defining globally or member declared variables.
定义全局或成员声明变量的对象。
CopyRight © 2020-2024 优校网[www.youxiaow.com]版权所有 All Rights Reserved. ICP备案号:浙ICP备2024058711号