TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: Bill Dickhaus 70325,523 (X)
from: Kim Kempf 71161,3221
date: 1993-02-06 00:17:09
subject: #17470-#C question

#: 17480 S3/Languages
    06-Feb-93  00:17:09
Sb: #17470-#C question
Fm: Kim Kempf 71161,3221
To: Bill Dickhaus 70325,523 (X)

Try this:

   (*func)()

Since func is a pointer to a function you need to dereference it.  But the
parens are needed to dereference the function pointer rather than the returned
value of the function.  Hope this helps.

kim

There is 1 Reply.

SOURCE: compuserve via textfiles.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™.