摘要:
这是候老师的《深入浅出 MFC》中C借函数指针构造映射截图,可以看到MFC们的映射思想: 阅读全文
摘要:
1 #include 2 #include 3 struct MyStruct 4 { 5 int a; 6 char b; 7 8 }; 9 struct MyStruct hello[]=10 {1,'a',2,'b'11 12 };13 14 15 int main( ... 阅读全文
摘要:
1 #include 2 #include 3 void func(){ 4 printf("Helloworld"); 5 6 } 7 8 9 10 int main( ){11 void (*f)(); /*声明一个函数指针 */ 12 f=func... 阅读全文