Description: The system detected an invalid pointer address when it tried to use a pointer argument of a call.
说明:尝试使用调用的一个指针参数时-系统检测到无效指针地址。
The code passes the target as the first argument and a pointer to the code function as the second. The syntax for this is.
这段代码将目标作为第一个参数,将一个代码函数的指针作为第二个参数进行传递。
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类型的方法。
The iocb argument can usually be treated as an opaque cookie used by the AIO subsystem; if you need the struct file pointer for this file descriptor, however, you can find it as iocb->ki_filp.
通常可以把iocb看作AIO子系统使用的不透明数据结构。然而,如果需要文件描述符的structfile指针,可以通过iocb->ki_flip获取。
You can't access it through a pointer declared as an Order, nor can you pass it to another method expecting an Order as an argument.
您不能通过声明为Order的指针来访问它,您也不能将它传递到另外一个希望以Order作为参数的方法。
As the name suggests, the _beginthread function creates a thread that executes the routine, where the pointer to that routine is specified as the first argument.
顾名思义,_ beginthread函数可以创建一个执行例程的线程,其中将指向该例程的指针作为第一个参数。
Freeing a reference vs freeing a pointer? Can we tell whether an argument is a reference or a pointer?
释放一个参考与释放一个指针?我们可以告诉是否一个参数是一个引用或指针?
Almost every single API routine has access to a pool, either through a pointer to one being explicitly in the argument list or by there being one inside one of the structures that is passed.
几乎每一个API程序能够访问一个池,通过一个指针指向一个明确的参数列表或有一个内部传递的结构。
The system detected an invalid pointer address in attempting to use a pointer argument in a call.
系统检测到在一个调用中尝试使用指针参数时的无效指针地址。
So, what we'll do is always pass a pointer to that struct as the first argument.
那么,我们将要做的就是总是在第一个参数传一个指向这类结构的指针。
Recall that when we pass an argument of array or function type, that argument is automatically converted to an pointer.
回忆一下,传递数组或函数类型实参的时候,该实参自动转换为一个指针。
When we pass an array, the argument is a pointer to the first element in the array. That pointer value is copied; the array elements themselves are not copied.
而在传递数组时,实参是指向数组第一个元素的指针,形参复制的是这个指针的值,而不是数组元素本身。
Avoid doing expensive argument checking of pointer arguments.
避免对指针参数进行高开销的参数检查。
Using pointer we can pass argument to the functions.
我们可以通过指针传参数给函数。
Do provide an alternative for any member that takes a pointer argument, as Pointers are not CLS-compliant.
为所有采用指针参数的成员提供替代指针参数的办法,因为指针不符合CLS。
But if we pass argument using pointer, we can modify them.
但若我们通过指针进行传参,我们就可以修改参数的值了。
These functions must be called after the stream has been opened(obviously, since each requires a valid file pointer as its first argument) but before any other operation is performed on the stream.
这些函数必须在流打开后被调用(很明显,因为每个函数都需要一个有效的文件指针作为它的第一个参数),但是在对流有任何操作之前。
If the parameter is a reference to the array, then the compiler does not convert an array argument into a pointer. Instead, a reference to the array itself is passed.
如果形参是数组的引用,编译器不会将数组实参转化为指针,而是传递数组的引用本身。
If the parameter is a reference to the array, then the compiler does not convert an array argument into a pointer. Instead, a reference to the array itself is passed.
如果形参是数组的引用,编译器不会将数组实参转化为指针,而是传递数组的引用本身。
应用推荐