英语人>网络例句>pointer 相关的网络例句
pointer相关的网络例句

查询词典 pointer

与 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去获得一个变量的长度,所以这样只能获得给变量类型的长度。

Remember, a parameter of type array is really a parameter of type pointer.

记住,一个某种类型的数组参数,实际上就是这种类型的指针。

ADDR is used in the parameter to give a pointer to the array as the parameter, and not the value itself.

在参数中使用ADDR来把指向数组的指针作为参数,而不是值本身。

Down'.'' arrow key to move the pointer to the border you want to move.

以把指针移动到你期望的边界。

第7/60页 首页 < ... 3 4 5 6 7 8 9 10 11 ... > 尾页
相关中文对照歌词
Night One (From Planchette)
There's A Beast And We All Feed It
Parade Music
That's How I Beat Shaq
Grace
Chinese Food
Sans Ratures
The Bad Squire
Inherited Scars
Young G's Perspective
推荐网络例句

A backer of an Afghan law that critics say legalizes marital rape has rejected the international outcry as foreign meddling.

饱受批评的一项法律的拥护者说合法化的婚内暴力不会受国际舆论的干涉。

Years ago, a ancient Egyptian fleet went to the Land of punt for seeking a kind of flavor named "myrrh", and aromatic plants which has dense exotic style for the queen Hatshepsut.

3500年前的一个古埃及的舰队到&彭特之地&寻找一种叫没药的香料。

I didn't tell him anything except that I needed the money.

我什么都没告诉他,只是说我需要钱。