Download for Windows Premium
Publiciteit
a pointer to a function

Examples with "a pointer to a function" and their translation in Chinees

We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
How do you use a pointer to a function?
怎样声明指向数组的指针
To declare a pointer to a function, specify the "pointer to a function" type, for example
若要声明函数指针,指定"函数指针" 类型,例如:
For example, if myFunc is a pointer to a function, the corresponding function can be called either by writing myFunc() or (*myFunc)().
这样一来, 凡是出现数组,函数的地方都可以用一个指针变量来表示, 只要该指针变量中赋予数组或函数的首地址即可。
AddDevice is a pointer to a function within the driver that creates device objects; this function is rather a big deal, and I'll discuss it at length in the section" The AddDevice Routine" later in this chapter.
)加设备是在驱动里面的一个函数指示器,它创建设备对象;这个函数相当重要,在本章稍后的"添加设备程序"一节中的最后,我将讨论它。
To declare a pointer to a function, specify the "pointer to a function" type, for example
添加支持函数指针来简化事件模式的安排。若要声明一个函数指针,请指定"函数指针"类型,例如:
Hence, a pointer to a function is a functor an object that can be used in place of a function name in function call syntax. On the other hand, because a reference is not an object, a reference to a function is not a functor.
函数不能返回另一个函数或者内置数组类型,但可以返回指向函数的指针 , ( 或指向数组元素的指针的指针。 ) 函数的形参可以为空,但不能省略。

Andere resultaten

Pointers to functions can be stored and passed as parameters. You cannot get a pointer to a non-static class method.
函数指针可以存储和作为参数传递。您不能获得非静态类函数的指针
A bound pointer-to-member must be a function call (missing argument list?)
绑定指向成员的指针必须是函数调用(缺少参数列表?)
each parameter is a pointer to a user variable that is assigned a value by the function
每个参数都是一个指向用户变量的指针,由此函数向该用户变量分配值
a pointer to a bound function may only be used to call the function
指向绑定函数的指针只能用于调用函数
A prvalue of type pointer to non-throwing member function can be converted to a prvalue pointer to potentially-throwing member function.
the function allocates a vector of void pointers, each pointing to an allocated buffer that holds a single element in the list
函数分配空指针向量,每个指针都指向一个已分配的缓冲区,其中保留列表中的单个元素
the pointer returned by this function is a pointer to a static area, overwritten by each subsequent call
函数返回的指针是静态区域的指针,该静态区域被每个后续的调用所覆盖
Er zijn geen resultaten gevonden voor deze term.
Woord & uitdrukking van de dag
Afbeelding van de dag
dumbbell: short bar with weights on each end
Ontdek het woord
Publiciteit

Resultaten: 147422. Exact: 6. Verstreken tijd: 69 ms.