Re: How to exit out of a function ? what is try-catch-throw in terms of Program Counter
On Oct 22, 12:38 am, Mark McIntyre <markmcint...@spamcop.net> wrote:
On Sun, 21 Oct 2007 18:39:13 +0100, in comp.lang.c , "Malcolm McLean"
"Kenny McCormack" <gaze...@xmission.xmission.com> wrote in message
But here's the thing: I seriously doubt that, in the hosted world (at
any rate), anything that can be written in "ISO C" (or whatever term y=
Kenny's delusions are hard to understand.
Yes. It depends on the application domain. In the domains I've
worked in, it's probably true: I need sockets, and generally
threads or a data base. But earlier in my career, I wrote
compilers, and there's nothing in them which can't be readily
expressed in ISO C; this is likely true for any other
application which simply reads input, does some calculations or
transformations, and writes it as output. I've got a lot of
little helper programs which are written in pure ISO C++, and
could almost certainly be written in ISO C with a bit more
I.e., anything that is that pure (such as your fuzzy
logic program) could be written much more easily and readably in
something like AWK.
I don't know AWK. If you've got time, try doing it. Seriously.
I _do_ know awk, a little, and its not the beast for the job.
awk with sed, grep, cat and tr, possibly. Yikes.
It depends on what the job it, but I agree that I usually end up
using it within a shell script, if only to handle options.
Where AWK really breaks down is when the code gets large enough
that you want to maintain it in separate files. But I use it a
lot for smaller things.
James Kanze (GABI Software) email:email@example.com
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34