Mail Archives: djgpp/1997/07/18/12:26:15
There exists a Unix program called `cdecl' which translates such
declarations between English and C. One place you can find the source by ftp
is at
sunsite.unc.edu in /pub/Linux/devel/lang/c/cdecl-2.5.tar.gz
The version number may have changed. It should be possible to port this, if
anyone wants to. If you have a Unix box, you can run it there.
>This stuff is both C and C++, but no I don't know of ANY tutorials on
>the web (try the C and C++ faq's, they may have some answers).
>
>For this topic:
>[deleted]
> (*a[])() array of pointers to functions
>
>so eg:
>
>int (*(*a[])(char *))(void *);
>
>a is an array of pointers to functions taking `char *' and returning a
>pointer to a functions that takes `void *' and returns `int'.
>
>Blah
>Bill
>--
Nate Eldredge
eldredge AT ap DOT net
- Raw text -