home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c++:20052 comp.lang.c:20329
- Path: sparky!uunet!math.fu-berlin.de!ira.uka.de!Germany.EU.net!gmd.de!newsserver.jvnc.net!louie!udel!gatech!hubcap!ncrcae!ncrhub2!ncrgw2!psinntp!vaxa.hofstra.edu!acctpu
- From: acctpu@vaxa.hofstra.edu
- Newsgroups: comp.lang.c++,comp.lang.c
- Subject: Pointers to Functions
- Message-ID: <1993Jan27.133810.545@vaxc>
- Date: 27 Jan 93 13:38:10 EST
- Lines: 11
-
- I was wondering. If I define a pointer to a function
-
- void (*fp)()
-
- How would I get the pointer to *point* to a function, and how would I
- *execute* the function the pointer is pointing to.
-
- Thanks in advance,
-
- Gary Graffagnino
- ACCGSG@VAXC.HOFSTRA.EDU
-