查询词典 pointer
- 与 pointer 相关的网络例句 [注:此内容来源于网络,仅供参考]
-
In the voltage regulator work, the observation of ammeter pointer.
在调压器起作用时,观察电流表的指针。
-
The pointer of the ampere-hour meter moves from zero to two and goes back to zero again.
安培小时计的指针先从0转到2,然后又回到0。
-
The ampersand operator can only really cover one of two possible uses for the returned pointer.
连字符操作才能真正覆盖两种可能的用途之一返回的指针。
-
For example, assume we have two functions named func. Each function takes a pointer to function argument.
例如,假定有两个名为 func 的函数,每个函数接受一个指向函数实参的指针。
-
We have already seen that when we use an array name in an expression, we are actually using a pointer to the first element in the array.
我们已经看到,在表达式中使用数组名时,实际上使用的是指向数组第一个元素的指针。
-
An array name in expression is treated by the compiler as a pointer to the first element of the array.
规则1。表达式中的数组名被编译器当作一个指向该数组第一个元素的指针
-
In particular, when we use the name of an array in an expression, that name is automatically converted into a pointer to the first element of the array
特别是在表达式中使用数组名时,该名字会自动转换为指向数组第一个元素的指针
-
Int *pia = new int[10];// array of 10 uninitialized intsThis new expression allocates an array of ten ints and returns a pointer to the first element in that array, which we use to initialize pia.
此 new 表达式分配了一个含有 10 个 int 型元素的数组,并返回指向该数组第一个元素的指针,此返回值初始化了指针 pia。
-
When the sizeof operator is applied to an array, it yields the total number of bytes in that array, not the size of the pointer represented by the array identifier.
因为我条件反射地认为可以通过sizeof和一个字符串的指针去获得该字符串的长度,但是情况就象上面的出现的那样,用指针是不能获得字符串的长度的,只能返回该指针的字节数。
-
To obtain the size of the pointer represented by the array identifier, pass it as a parameter to a function that uses sizeof
分析其原因:个人认为指针是一个变量,不能用sizeof去获得一个变量的长度,所以这样只能获得给变量类型的长度。
- 推荐网络例句
-
In the United States, chronic alcoholism and hepatitis C are the most common ones.
在美国,慢性酒精中毒,肝炎是最常见的。
-
If you have any questions, you can contact me anytime.
如果有任何问题,你可以随时联系我。
-
Very pretty, but the airport looks more fascinating The other party wisecracked.
很漂亮,不过停机坪更迷人。那人俏皮地答道。