函数指针之间的区别 [英] Difference between function pointers

查看:75
本文介绍了函数指针之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



(int *)fun()和int * fun()有什么区别?


指向函数的指针有什么好处?

What is the difference between
(int *) fun() and int *fun() ?

What is the advantage of pointers to functions?

推荐答案

ram kishore写道:
ram kishore wrote:

有什么区别

(int *)fun()和int * fun()?

函数指针的优点是什么?
What is the difference between
(int *) fun() and int *fun() ?

What is the advantage of pointers to functions?



做你自己的作业


-

jacob navia

jacob at jacob point remcomp point fr

logiciels / informatique
http://www.cs.virginia.edu/~lcc-win32


ram kishore说:
ram kishore said:



(int *)fun()和int * fun()有什么区别?
What is the difference between
(int *) fun() and int *fun() ?



()

()


指向函数的优势是什么?
What is the advantage of pointers to functions?



当你需要指向某个功能时,没有什么能比它们好。


-

Richard Heathfield< http://www.cpax.org.uk>

电子邮件:-http:// www。 + rjh @

谷歌用户:< http://www.cpax.org.uk/prg/writings/googly.php>

Usenet是一个奇怪的放置" - dmr 1999年7月29日

When you need to point to a function, nothing beats them.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999


7月25日,12:19 * pm,ram kishore< rapol ... @ gmail.comwrote:
On Jul 25, 12:19*pm, ram kishore <rapol...@gmail.comwrote:



(int *)fun()和int * fun()之间有什么区别?


什么指向函数的优势是什么?
What *is the difference between
(int *) fun() and int *fun() ?

What is the advantage of pointers to functions?



这可以成为这个主题的好资源。
http://www.newty.de/fpt/index.html


这篇关于函数指针之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆