c语言定义函数结构体,C中struct的函数实现
C中struct的函数实现,只能用函数指针成员C/C codeCode highlighting produced by Actipro CodeHighlighter(freeware)#include struct test{voidfun(){printf("hello,world\n");}};int main(){structtest _t;_t.fun();return0;}上面的代码...