Path: utzoo!attcan!uunet!husc6!bloom-beacon!oberon!stromboli.usc.edu!english From: english@stromboli.usc.edu (Joe English) Newsgroups: comp.lang.c Subject: Re: help with a MESSY C definition!!? Keywords: typedef Message-ID: <13526@oberon.USC.EDU> Date: 18 Nov 88 23:30:25 GMT References: <207600008@s.cs.uiuc.edu> Sender: news@oberon.USC.EDU Reply-To: english@stromboli.usc.edu (Joe English) Organization: University of Southern California, Los Angeles, CA Lines: 27 In article <207600008@s.cs.uiuc.edu> dlee@s.cs.uiuc.edu writes: > >I usually don't have any trouble with C, but this is a glaring exception: I >need the syntax of definition for an array (of arbitrary size) of pointers to >functions returning pointers to integer (HOW'S *THAT* FOR A DOOZY!!!). Let's see, that would be int *(*a)()[], umm, int (*)[][](a), no, er, int (**a[*])(:-), no, um, hmph... typedef int *(*pfpi)(); pfpi opfuncs[]; So that would make opfuncs of type: >My closest (possibly correct) guess follows: > > int *(*opfuncs[])() = { ^^^^^^^^^^^^^^^^^^^ about like that. >Doug Lee --Joe English