如何通过一个指向结构的指针没有激怒编译器吗?
How do I pass a pointer to a structure without angering the compiler?
如果您有指向结构的指针而且指针的值是正确的,那么结构的每个成员变量都将显示正确值。
If you have a pointer to a structure and the value of the pointer is correct, every member variable of the structure will show the correct value.
非托管结构被声明为类而不是托管结构,以显示当非托管函数需要一个指向结构的指针时可以如何使用类。
The unmanaged structure is declared as a class, instead of as a managed structure, to show how a class can be used when the unmanaged function expects a pointer to a structure.
此结构包含资源管理器的名称、指向资源管理器入口点的非空指针、标志和版本号。
This structure contains the resource manager's name, non-null pointers to the resource manager's entry points, a flag, and version number.
还需要获得指向SSL结构的指针。
The pointer to the SSL structure also needs to be retrieved.
so是指向套接字结构的指针。
fp是指向文件结构的指针。
在此,param是指向描述调度优先级结构体的指针。
Here, param is a pointer to a structure representing scheduling priority.
fuse_operations结构中有一个指针,指向在执行适当操作时需要调用的函数。
The fuse_operations structure carries a pointer to functions that will be called when the appropriate action is required.
当应用程序调用一个重叠操作函数时,要把指向一个overlapped结构的指针包括在其参数中。
When an overlapped call is made, a pointer to an overlapped structure is passed as a parameter.
msg是指向 msghdr结构的指针。
正常情况下会传递一个指向结构或类的指针,该结构或类包含了一些客户端的指定对象。
Normally, a pointer to a structure or a class that can contain some client specific objects is passed with this parameter.
除了可以添加、删除或修改元素之外,您还可以通过操纵指向元素或节点的指针,将元素移动到该层次结构中的另一位置上。
In addition to be able to add, remove, or modify the element, you could also move it to another location in the hierarchy by manipulating the Pointers to the element or node.
在处理函数中,我们获得了一个指向保存了位置信息的YYLTYPE结构的指针,这样可以生成一条很好的错误消息。
In the processing function, you get a pointer to the YYLTYPE structure holding the location, and you can generate a nice error message.
链表所包含的节点结构体由两部分构成:它所持有的数据,以及指向另一个节点结构体(或者是NULL,结束链表)的指针。
A linked list consists of a node structure that contains two members: the data it is holding and a pointer to another node structure (or NULL, to terminate the list).
指向新sigaction结构体的指针
指向旧sigaction结构体的指针
p是一个指向调用进程的proc结构的指针。
P is the pointer to the proc structure of the calling process.
uap是一个指向socket_args结构的指针,该结构包含传递到socket系统调用中的进程的参数。
Uap is a pointer to the socket_args structure that contains the arguments passed to the process in the socket system call.
声明指向容器结构ICMCONTAINERDATA_STRUCT的指针。
Declares a pointer to container structure, ICMCONTAINERDATA_STRUCT.
它们与前面我向您介绍的c中的节点结构稍有不同,因为一个pair的下半部分不必是一个指向某个列表节点的指针。
They are slightly different from the node structures I showed you in c, above, because the bottom half of a pair doesn't have to be a pointer to a list node.
socreate函数根据进程指定的参数发现指向协议切换protsw结构的指针。
The socreate function finds the pointer to the protocol switch protsw structure, depending on the arguments specified by the process.
当得到了指向OVERLAPPED结构的指针以后,可以用CONTAINING_RECORD宏取出其中指向扩展结构的指针。
After the pointer to the OVERLAPPED structure is returned, the CONTAINING_RECORD macro can be used to obtain a pointer to the extended structure.
代码中将用户名和密码存储在MQCSP结构中,并在调用时将指向此结构的指针psecurityparms传递给该函数。
The username and password are stored in a MQCSP structure, and a pointer to this structure, pSecurityParms, is passed into the function when it is called.
p是一个指针,指向进行socket调用的进程的proc结构。
P is a pointer to the proc structure of the process that makes the socket call.
这个结构体包含一个指向链表第一个元素的指针。
This structure contains a single pointer to the first element on the list.
常量池引用被与指向内部数据结构的指针取代,成功的或者某种工作方式会被一种简单的形式替代。
Constant pool references are replaced with Pointers to internal data structures, operations that always succeed or always work a certain way are replaced with simpler forms.
几乎每一个API程序能够访问一个池,通过一个指针指向一个明确的参数列表或有一个内部传递的结构。
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 CoCreateInstance API can be used to return us this indirect pointer to an interface structure.
API可以被用来返回间接指向一个接口结构的指针。
The CoCreateInstance API can be used to return us this indirect pointer to an interface structure.
应用推荐