多维数组指针和递归是C语言教学中的难点。
Multi-dimensional array pointer and recursion are the difficult sections of teaching C language.
论述了指针数组与数组指针的区别,并以一个实例说明指针数组的应用。
Describes the differences between pointer array and array pointer, and illustrates the application of pointer array by an example.
它对存储局部变量的位置进行重新排序,并复制函数参数中的指针,以便它们也在任何数组之前。
It reorders where local variables are stored, and copies Pointers in function arguments, so that they're also before any arrays.
前面已经讨论了堆栈(数组)和指针。
We've already discussed the stack (an array), and the pointer.
如果要传递数组或指针,那么最好小心错误和坏数据的出现。
If you are passing arrays or Pointers, then you REALLY better be watching for errors or bad data.
否则,它循环遍历绑定向量数组,寻找非null的绑定句柄指针。
Else, it goes through the binding vector array looking for a non-NULL pointer to binding handle.
在提供直接指向数组的指针的JVM上,该数组将被更新;但是,在返回副本的JVM上则不是如此。
On a JVM that provides a direct pointer to the array, the array will be updated; however, on a JVM that returns a copy it will not be.
还有一些工具能够检测到源代码中可能访问null指针或在数组范围之外寻址的位置。
There are also some tools that will detect areas in source code that are likely to access null Pointers or addresses beyond array boundaries.
我们可以认为userdata就是一个字节数组——字节可以表示指针、结构或宿主应用程序中的文件。
You can think of userdata as an array of bytes — bytes that might represent a pointer, a structure, or a file in the host application.
execv调用首先取得一个指向要运行的二进制文件名称的指针,然后取得一个指向您前面声明的参数数组的指针。
The call to execv first takes a pointer to the name of the binary to be run, and then a pointer to the array of parameters that you declared earlier.
它由正在对其调用方法的GObject的指针、参数数组和关键字参数数组组成。
It is composed of a pointer to the GObject that the method is being called on, an array of arguments, and an array of keyword arguments.
索引包含一个节点,该节点是一个小型的指针数组,这些指针又指向更低的层。
The index contains a node that is a small array of Pointers to the lower level.
调度器使用了两个优先级数组,即活动数组和过期数组,可以通过指针来访问它们。
The scheduler USES two priority arrays, namely active and expired arrays, that are accessed through Pointers.
每个小块便是相应层的指针数组的直接索引:最左边的小块指向第一层节点,第二个小块指向第二层的节点,依此类推。
Each chunk is a direct index to the pointer array of the corresponding level: the first left-hand-side chunk to the first-level nodes, the second chunk to the nodes of the second level, and so on.
因此y的类型就是有四个元素、这些元素指向char类型的指针数组。
Thus, array (pointer (char), 4) is the type of arrays of 4 Pointers to char.
我如何存储一个对象的函数指针数组?
我们已经看到,在表达式中使用数组名时,实际上使用的是指向数组第一个元素的指针。
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.
然而,很多操作系统仍然使用不透明的指针,“私有”的数据结构或内部数组的索引来在进程和他的客户之间传递。
However, many operating systems still apply the term to Pointers to opaque, "private" data structures, or indexes into internal arrays passed from one process to its client.
这样就明确地表示,函数操纵的是指向数组元素的指针,而不是数组本身。
Doing so makes it clear that what is being operated on is a pointer to an array element, not the array itself.
将数组转换为指向数组类型的指针,将函数转换为指向函数类型的适当指针。
An array is converted to a pointer to the type of the array; a function is converted to the appropriate pointer to function type.
通常,将数组形参直接定义为指针要比使用数组语法定义更好。
It is usually a good idea to define array parameters as Pointers, rather than using the array syntax.
函数的作用是:将数组的内部指针指向最后一个元素并输出它。
The end function moves the internal pointer to, and outputs, the last element in the array.
通过数组下标所能完成的任何操作都可以通过指针来实现。
Any operation that can be achieved by array subscripting can also be done with Pointers.
数据使用指针,数组排序和冒泡排序的程序,有语法错误。
Data Sorting Program using Pointers, Arrays, and Bubble Sorting having Syntax Errors.
回忆一下,传递数组或函数类型实参的时候,该实参自动转换为一个指针。
Recall that when we pass an argument of array or function type, that argument is automatically converted to an pointer.
指针是用于数组的迭代器。
类型名可能包含尾部字符,尾部字符表示有关该类型的附加信息,如类型是引用类型、指针类型还是数组类型。
Type names may include trailing characters that denote additional information about the type, such as whether the type is a reference type, a pointer type or an array type.
类型名可能包含尾部字符,尾部字符表示有关该类型的附加信息,如类型是引用类型、指针类型还是数组类型。
Type names may include trailing characters that denote additional information about the type, such as whether the type is a reference type, a pointer type or an array type.
应用推荐