Subj : Function Pointer Redux To : Jasen Betts From : Roy J. Tellason Date : Thu May 06 2004 01:06 pm Jasen Betts wrote in a message to Roy J. Tellason: JB> Hi Roy. JB> 03-May-04 20:06:34, Roy J. Tellason wrote to Bill Birrell RJT> Bill Birrell wrote in a message to Neil Heller: >> Given the following line of code: >> typedef void * (*x) (void *) >> What does this statement declare? >> What is x? BB>> Hi Neil, BB>> There is a little utility called cdecl.exe that allegedly answers BB>> precisely this type of question. It reports that one as a syntax BB>> error. BB>> Do you want a copy? RJT> Is the source available? :-) JB> It's public domain as far as I can tell. there's source out there JB> (it originated in usenet:comp.lang.c), but there was a binary on JB> disk 3 of my debian set (so I stopped looking), judging from the JB> README file you'll need lex (or flex) and yacc (or bison), (and of JB> course a C compiler) to compile the source, so if you want it for a JB> dos/windows JB> machine it may be easier to just download a binary. JB> (www.delorie.org has been a good starting point for locating dos JB> ports of that sort of stuff) Actually I wasn't thinking of dos (where an .exe wouldn't be a problem for the most part). JB> slightly modified source is at sunsite.unc.edu in JB> /pub/Linux/devel/lang/c Probably a better bet. :-) JB> Not having seen the source only having run the binary it's the sort JB> of thing I'd expect to be easily portable. Sounds like it. --- * Origin: TANSTAAFL BBS 717-838-8539 (1:270/615) .