C/C++????????
???????????? ???????[ 2015/12/25 10:44:52 ] ??????????????????? .NET
??????????C/C++?е?????????
?????????“???????”?????????????o??????????
???????????
??????1??????????????????????????????????????????????????????к????????????????????????????У???????????????????κ????????????????????????????????????????????????????????е????????????????????????????????????????????????????????????
??????2???????????Hello World????
????int main(int argc??char* argv[])
????{
????printf("Hello World!
");
????return 0;
????}
??????????ú?????????????????
????void Invoke(char* s);
????int main(int argc??char* argv[])
????{
????Invoke("Hello World!
");
????return 0;
????}
????void Invoke(char* s)
????{
????printf(s);
????}
?????ú???????????????
????void Invoke(char* s);
????int main()
????{
????void (*fp)(char* s); //??????????????(fp)
????fp=Invoke; //??Invoke????????????????fp
????fp("Hello World!
"); //???????fp??????????
????return 0;
????}
????void Invoke(char* s)
????{
????printf(s);
????}
???????????????????????????????????????????????*fp?????????????Invoke?????????????????????????????и??fp=Invoke??????к???????????????????????????????????????????????????????????????????£??????????????????????????????????????????????? void (*fp)(char* s)??
????????У???????????ú????????????????????????????£?
????typedef void (*FP)(char* s);
????void Invoke(char* s);
????int main(int argc??char* argv[])
????{
????FP fp; //??????ú?FP????????????????fp
????fp=Invoke;
????fp("Hello World!
");
????return 0;
????}
????void Invoke(char* s)
????{
????printf(s);
????}
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11