Addition of an int and a double results in a double.
int和 doubule 类型的两个数相加,结果是一个double 类型的数。
Being well organized is necessary, but a false crutch to integrating int a new society.
进行有条理的组织是必要的,但是要融入一个新的社会里这并不完全可行。
Two constructors are defined on the class: one taking an int and one taking a pair of ints.
类中定义了两个构造函数:一个构造函数带有一个int参数,另一个带有两个int参数。
Create a UML operation named purevirtualop with a return parameter of type int and a parameter x of type int.
创建一个名为purevirtualop的UML操作,其返回值类型为int,参数x 的类型为 int。
The int argument is a four argument array that represents the red, green, blue, and alpha value for the pixel.
int参数是一个由四个参数组成的数组,表示像素的红、绿、蓝以及alpha值。
I get the int and store it in n. The switch statement takes inside its parenthesis an int or a char or some primitive type.
我得到一个整数并把它存储,到n中,switch语句的圆括号里可以是一个整数,或者一个字符或其他的基本类型。
You use both the int and long types to hold integer values, the difference being that an int is a 32-bit integer value.
您可以使用int和long两种类型来保存整数值,它们的不同点在于int是一种32位的整数值。
Thus we may write the code in listing 2 while executing something that looks more like what is in listing 3. int A = 1;
因此,我们可以把代码写得像清单2那样,但是它执行时其实更类似于清单3的样子。
Also suppose that the Collaborator object requires a string and a primitive int as parameters passed to the constructor.
同时假定Collaborator对象要求使用字符串和原始的int作为传递给构造函数的参数。
For primitive types, the representation USES a single letter code for each type (such as' I 'for an int and' Z 'for a Boolean).
原语类型的表示法为,各类型使用一个单独的字母(如‘i’表示int、‘Z’表示布尔型)。
We now know that this represents a function pointer type that can refer to any method taking a single int argument and returning a string.
我们现在知道了这是一个函数指针类型,它可以引用任何有一个int类型参数并且返回一个string类型的方法。
For example, an int parameter would be declared as int and a String parameter would be declared as String so a value could be returned in it.
例如,int参数将被声明为int,而String参数则被声明为String,因而可以在这些参数中返回一个值。
On the other hand, that's no worse than the current situation; you can't pass an int as a key to Hashtable because all keys must be of type Object.
另一方面,当前的这种情况是最糟的;您不能将int作为键传递给Hashtable,因为所有的键都必须是Object类型。
Int a Well, one, function has called swap, takes one int called a, printf followed by another int called b, and as we've seen with print f, if you have multiple arguments, you separate them by commas.
好的,函数叫做swap,一个参数是,另一个参数是int,B,我们看到的,如果你有好几个参数,把它们用逗号分开。
Addition of two signed ints results in a signed int.
两个有符号整数相加的结果是一个有符号的整数。
If one of the operands is unsigned and the other is a signed int, the expression becomes an unsigned.
如果一个操作数是无符号整数,另外一个操作数是有符号整数,那么表达式的结果就是无符号整数。
So for now assume it's got to be an int or a char.
所以现在假使它是一个整数或字符。
They also set a global int variable called errno.
它们还设置名为errno的全局整数变量。
Well, if intuitively the problem is the result of dividing an int by an int, surely a solution is: "Don't do that," right?
好的,直观地看,如果那个问题的原因是因为整型数除以整型数的话,无疑有个解决方案是:“不要那样做“,是吗?
A If you want to convert a number like 65 to the letter a, you just have tell the computer "cast that int to a char."
如果你要把一个像65这样的数字转换为字母,你只需要告诉计算机“把那个int型数据转换成char型处理。”
The class intProp represents a native int data type.
intprop类表示一个原生的int数据类型。
So, the best declaration for an int variable in a tight loop would be.
那么,在一个小循环(tightloop)中,定义一个整型变量,最好类似这样。
Object.wait (long timeout, int nanos) provides nanosecond granularity for a relative wait operation.
wait (longtimeout,intnanos)为相关的等待操作提供纳秒粒度。
minor: An int to describe a variant on the type of the event; defaults to -1
minor:一个整型值,用于描述事件类型的变体;缺省值为 -1
This structure contains a single int element.
这个结构包含了单个int元素。
This will be flagged during refactoring because it causes a problem in the method being refactored: int does not have a length() method.
在重构的过程中这些问题将会被标出,因为它们会在被重构的方法内部引起问题:int不具有方法length() 。
Finally, INT Bank has a core IT staff at corporate headquarters who are responsible for administering the loan application service.
最后,INTBank公司总部有一位核心IT人员,负责管理贷款申请服务。
Spu_splats ((unsigned int) 5) creates a vector of unsigned ints with each element having the value 5.
spu_splats ((unsignedint)5)创建了一个unsignedint类型的向量,每个元素的值都是5。
To create a template class such as template class one
要创建一个模板类,例如:templateclassone
To create a template class such as template class one
要创建一个模板类,例如:templateclassone
应用推荐