Nov 26, 2012 at 10:29am UTC
I saw an article showing command line use of cdecl where the results were given like a help file.
i.e; "cdecl int *(char b) and the output explained what was happening.,
Also in reverse, i.e.; Describe in words, and you get a formula.
I cant find anything on this. Does anyone know what I m talking about?
Thanks
Nov 26, 2012 at 11:18am UTC
This is a link to K&R C Programming, section 5.12 on page 100 has some code to convert from a complex declaration to words,
not sure about the other way though.
HTH
Last edited on Nov 26, 2012 at 11:20am UTC
Nov 26, 2012 at 12:23pm UTC
That's clever. There's a link on the site to the source code. You can download it, build it and run it (with -i for interactive).
Nov 27, 2012 at 2:16pm UTC
Last edited on Nov 27, 2012 at 2:16pm UTC
Nov 27, 2012 at 2:29pm UTC
You ought to be able to build it in cygwin on Windows.