TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Neil Heller
from: Jasen Betts
date: 2004-04-19 07:21:42
subject: Function Pointers

Hi Neil.

17-Apr-04 19:29:04, Neil Heller wrote to All

 NH> Does anybody still use function pointers?

anybody who uses atexit() or qsort() does.

 NH> Is there anything that function pointers can do that other
 NH> construct cannot do?

pass a reference to arbitrary private (ie static) functions to a external
function.

store references to functions in a data structure ( array, struct,
linked-list...)

 -=> Bye <=-

---
* Origin: Success is a journey, not a destination. (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.