home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / cplus / 20052 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  659 b 

  1. Xref: sparky comp.lang.c++:20052 comp.lang.c:20329
  2. 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
  3. From: acctpu@vaxa.hofstra.edu
  4. Newsgroups: comp.lang.c++,comp.lang.c
  5. Subject: Pointers to Functions
  6. Message-ID: <1993Jan27.133810.545@vaxc>
  7. Date: 27 Jan 93 13:38:10 EST
  8. Lines: 11
  9.  
  10.     I was wondering.  If I define a pointer to a function
  11.  
  12. void (*fp)()
  13.  
  14.        How would I get the pointer to *point* to a function, and how would I
  15. *execute* the function the pointer is pointing to.
  16.  
  17. Thanks in advance,
  18.  
  19. Gary Graffagnino
  20. ACCGSG@VAXC.HOFSTRA.EDU
  21.