TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: Bill Dickhaus 70325,523 (X)
from: Pete Lyall 76703,4230
date: 1993-02-03 09:36:46
subject: #17467-#C question

#: 17469 S3/Languages
    03-Feb-93  09:36:46
Sb: #17467-#C question
Fm: Pete Lyall 76703,4230
To: Bill Dickhaus 70325,523 (X)

Bill -

It's been a while since I messed with function pointers (I always have to look
them up!), but I'm thinking you'd invoke the function by dereferencing it..

    *woof(args);

Well..

Just peeking at C++ The Complete Reference (ISBN 0-07-881654-8), page 128
indicates that you call the function normally..

    func();

Give it a shot, and let me know... this has always been a weak area for me.

Pete

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™.