Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Commit

Permalink
勘误
Browse files Browse the repository at this point in the history
勘误
  • Loading branch information
ystop committed Jul 17, 2016
1 parent 10a9068 commit 1a136ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ex18.md
Expand Up @@ -4,7 +4,7 @@
> 译者:[飞龙](https://github.com/wizardforcel)
函数在C中实际上只是指向程序中某一个代码存在位置的指针。就像你创建过的结构体指针、字符串和数组那样,你也可以创建指向函数的指针。函数指针的主要用途是向其他函数传递“回调”,或者模拟类和对象。在这歌1练习中我们会创建一些回调,并且下一节我们会制作一个简单的对象系统。
函数在C中实际上只是指向程序中某一个代码存在位置的指针。就像你创建过的结构体指针、字符串和数组那样,你也可以创建指向函数的指针。函数指针的主要用途是向其他函数传递“回调”,或者模拟类和对象。在这个练习中我们会创建一些回调,并且下一节我们会制作一个简单的对象系统。

函数指针的格式类似这样:

Expand Down

0 comments on commit 1a136ef

Please sign in to comment.