结构中的陈述意味着什么 [英] what the statement in a structure mean
问题描述
你好,
我正在查看一份包含C技巧的文件。在它们中,他们使用了很多地方的声明我不明白你能告诉
我的含义以及编译器如何编译并运行它
语句为:
void(* func)(SDS_UINT32,void *) ;
这是结构的成员
提前谢谢
再见
hello,
Iam going through a document contianing C tricks .In it they
used the statement in many places i didn''t understand can u please tell
me the meaning and how the compiler compiles it and runs it
The statement is :
void (* func)( SDS_UINT32 , void * );
which is a member of structure
Thanks in advance
Bye
推荐答案
raghu写道:
raghu wrote:
你好,
Iam经历一个文件包含C技巧。在它们中它们
在许多地方使用了这个语句我不明白你能告诉我/ b $ b我的含义以及编译器如何编译它并运行它
声明是:
void(* func)(SDS_UINT32,void *);
是结构的成员
提前致谢
再见
hello,
Iam going through a document contianing C tricks .In it they
used the statement in many places i didn''t understand can u please tell
me the meaning and how the compiler compiles it and runs it
The statement is :
void (* func)( SDS_UINT32 , void * );
which is a member of structure
Thanks in advance
Bye
这是一个pointe转到一个接受两个参数的函数,一个是
SDS_UINT32,另一个是void指针。
-kyle
It is a pointer to a function that accepts two arguments, one of type
SDS_UINT32 and the other a void pointer.
-kyle
raghu写道:
raghu wrote:
你好,
我去了通过一个文件来描述C技巧。在它们中它们
在许多地方使用了这个语句我不明白你能告诉我/ b $ b我的意思以及编译器编译的方式它运行它
声明是:
void(* func)(SDS_UINT32,void *);
是结构的一员
提前致谢
再见
hello,
Iam going through a document contianing C tricks .In it they
used the statement in many places i didn''t understand can u please tell
me the meaning and how the compiler compiles it and runs it
The statement is :
void (* func)( SDS_UINT32 , void * );
which is a member of structure
Thanks in advance
Bye
好吧,func是一个指向SDS_UINT32和void *的函数的指针作为
争论,并返回无效,baisucally它是一个函数
指针。
说到函数指针,我有在许多书中读到它是有用的反病毒软件,有人可以电话l
的确切用法使其在杀毒软件中如此特别???
Well, func is a pointer to a function taking SDS_UINT32 and void* as
arguements, and which returns void, baisucally it is a function
pointer.
Speaking about function pointers, i have read in many books that it is
helpful in anti-virus software, can anyone tell the exact usage that
makes it so special in anti-virus softwares???
kyle.tk写道:
kyle.tk wrote:
raghu写道:
raghu wrote:
hello,
我正在查看一份包含C技巧的文件。在它们中,他们使用了很多地方的声明我不明白你能告诉
我的意思和编译器如何编译并运行它
语句为:
void(* func)(SDS_UINT32,void *);
这是结构成员
提前致谢
再见
hello,
Iam going through a document contianing C tricks .In it they
used the statement in many places i didn''t understand can u please tell
me the meaning and how the compiler compiles it and runs it
The statement is :
void (* func)( SDS_UINT32 , void * );
which is a member of structure
Thanks in advance
Bye
这是一个指向接受两个函数的函数的指针参数,类型之一
SDS_UINT32和另一个void指针。
-kyle
It is a pointer to a function that accepts two arguments, one of type
SDS_UINT32 and the other a void pointer.
-kyle
Raghu,
谢谢你的回复
它会通过简单的启动来调用与之相关的功能那个
成员和其他成员一样。
Raghu,
thank u for ur reply
wll it call the function related to it by simply initilization to that
member as similar to it as others did.
这篇关于结构中的陈述意味着什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!