declaring routines which return function pointers
Ken Yap
ken at rochester.UUCP
Thu Dec 20 10:03:15 AEST 1984
In article <1998 at umcp-cs.UUCP> chris at umcp-cs.UUCP (Chris Torek) writes:
>Maybe someone should re-post the ``cdecl'' program:
>
> % cdecl
> declare f as pointer to function returning pointer to function returning int
> int (*(*f)())()
> declare x as pointer to pointer to function returning pointer to function returning pointer to pointer to pointer to function returning pointer to function returning pointer to char
> char *(*(***(*(**x)())())())()
>...
Ah, but what I want is the DWIM (declare what I mean) program :-).
--
Ken Yap
UUCP: (..!{allegra, decvax, seismo}!rochester!ken) ARPA: ken at rochester.arpa
USnail: Dept. of Comp. Sci., U. of Rochester, NY 14627.
More information about the Comp.lang.c
mailing list