What is the translation of " CONST " in Chinese?

Examples of using Const in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
Const: Thanks for appreciating my work.
加拉格尔:谢谢你认可我的工作。
Almost always, if you can choose between the two, choose const.
几乎总是如此,如果你能在两者之间选择,那么就选择常量
Const: It is used to create an immutable variable.
Const:它用于创建一个不可变变量。
If a global variable will not change,adding a const declaration solves this performance problem.
如果全局变量不改变的话,可以添加一个const声明来解决性能问题。
Both const and static have requirements for giving them a value.
常量和静态常量都要求给他们一个值。
If n is the number of data points and const= TRUE or omitted, then v1= n- df- 1 and v2= df.
如果n是数据点的个数,且const=TRUE或被删除,那么v1=n-df-1且v2=df。
If const is TRUE or omitted, b is calculated normally.
如果const为TRUE或被省略,b将按通常方式计算。
As a declaration,but you can't do that except as a compiler extension" with static const int var= 5;
写成声明,但你不能这样做除了作为一个编译器扩展withstaticconstintvar=5;。
Constants are declared like variables, but with the const keyword.
常量像变量一样声明,但是使用const关键字。
If you need to assign and initialize a char* with a string literal constant,you should use const char* or auto.
如果需要用字符串字面值常量赋值和初始化一个char*,应该使用constchar*或者auto。
Const. amend V. This protection is guaranteed by the Nevada Constitution.
Iphone5se_此法律受美国宪法保护.
This is similar to the output operator,except the parameter doesn't have a const:“Fred&” rather than“const Fred&”.
除了参数没有一个const:“Fred&”而不是“constFred&”,其他和输出算符类似。
Size_type size() const Returns the number of elements contained in the queue.
Size_typesize()const返回队列中的元素数目.
But before we actually dive into the differences between var, let, and const, there are some prerequisites you need to know first.
但在我们深入了解var、let和const之间的区别之前,需要先了解一些先决条件。
If const is FALSE, b is set equal to 0(zero), and the m-values are adjusted so that y= mx.
如果const为FALSE,b将被设为0(零),m将被调整以使y=mx。
That would be a bad thing, since we would have lost the const qualifier: p is a Foo* but x is a const Foo.
那就是个坏事了,因为,我们就丢失了const修饰符的作用了:p是一个Foo*,而x是一个constFoo。
Once a const is initialized, its value can never be changed again, and it can't be reassigned to a different value.
初始化const后,其值永远不会再次更改,并且不能重新分配给不同的值。
Modern JavaScript developers might choose to always use const for variables that don't need to be reassigned later in the program.
现代JavaScript开发人员可能会选择始终将const用于不需要在程序中稍后重新分配的变量。
The benefit of const correctness is that it prevents you from inadvertently modifying something you didn't expect would be modified.
常量正确性的好处是,它会阻止妳无意间改变某个妳并未打算改变的东西。
NET code- according to Microsoft, fields(other than const fields) should always be private and wrapped by public properties.
NET代码的规则相背--根据Microsoft,字段(除了const字段之外)应总是私有的,并由公共属性封装。
Const_cast, for casting away the const-ness of a variable, or converting a non-const variable to be const.
将const_cast转换为const的变量,或者const变量转换为const。
In fact it is a very strong convention in Googlecode that input arguments are values or const references while output arguments are pointers.
事实上这在GoogleCode是一个硬性约定:输入参数是值参或const引用,输出参数为指针。
For example, if class X has a const member function such as inspect() const, it is okay to say x. inspect().
例如,假设X中有某个常量成员函数,比如inspect()const,那么,妳可以这样调用,x.inspect()。
For every type other than reference and function, the type system supports three additional cv-qualified versions of that type(const, volatile, and const volatile).
对于每个引用和函数以外的类型,类型系统支持该类型的三个附加cv限定版本(const、volatile及constvolatile)。
X const& x is equivalent to const X& x, and X const* x is equivalent to const X* x.
Xconst&x等价于constX&x,Xconst*x等价于constX*x。
You can define a constant by using the define()-function or by using the const keyword outside a class definition as of PHP 5.3.0.
可以用define()函数来定义常量,在PHP5.3.0以后,可以使用const关键字在类定义之外定义常量。
If const= TRUE or is omitted, the LINEST function effectively inserts an additional X column of all 1 values to model the intercept.
如果const=TRUE或被省略,则LINEST函数可有效地插入所有1数值的其他X列以便为截距建立模型。
In C++98, only static const members of integral types can be initialized in-class, and the initializer has to be a constant expression.
在C++98标准里,只有staticconst声明的整型成员能在类内部初始化,并且初始化值必须是常量表达式。
The parameter const string& that binds to all expressions of type string which allows you to make copies in the following examples.
参数conststring&that绑定到string类型的所有表达式,允许您在以下示例中进行复制:.
Results: 29, Time: 0.0295

Top dictionary queries

English - Chinese