brahms@spp5.UUCP (Bradley S. Brahms) (03/06/86)
[}{]
I sent out a message to net.lang.c the other day about not being able to
get an array of funtion pointers to work on the 7300. I have been told
that this should be allowed by c. Since I still have version 2.0, waiting
for 3.0 to come in, could someone please see if an array of function
pointers will work under 3.0? To get around it on 2.0, I ended up doing
something like the following:
struct procs
{
int (*proc)();
} prodedures[] = {
proc1,
proc2, .....
procn
};
Thanx.
-- Brad Brahms
usenet: {decvax,ucbvax,ihnp4}!trwrb!trwspp!brahms
arpa: Brahms@usc-eclc