Kenny McCormack wrote:
[...]
The point (and a very important point it is) is that many of the
regulars (e.g., CBF), not all of them, but some of them, have explicitly
stated both that "If it isn't in the C standard, it doesn't exist" (1) and
"<x> is not C" (2) (where <x> is something not mentioned in the standard).
Both statements ((1) and (2) above) are obviously bogus, but we, those
of us in the know, know what it means and accept it as poetic license.
But, and this is another important point, newbies don't know how to take
it, and the whole things has a rather unpleasant smell.
I'd have to see such a quote in context to see exactly what was said.
Of course, what the (probably) really mean is "it doesn't exist _as_
_far_as_the_standard_is_concerned_".
I have a cup of water next to me. It obviously exists, despite the
fact that the standard makes no mention of cups or water. (Heck, it
doesn't even mention "me".)
Note also that you sometimes see the wording "... written (entirely) in
ISO C ..." (most recently, I believe, in posts from Heathfield), and
whenever I see this wording, I think "but, but, that's redundant...
According to some of the nutbars here, there's no other kind."
I think they would agree that there are other forms out there. There
is "Microsoft C", there is "gcc C", there is "Watcom C", and so on.
The point is, that in clc, the unqualified use of "C" means "ISO C",
but some people need to be told that explicitly. I would probably
say that the software I write is "written entirely in C", but
technically (as far as clc is concerned) it should really be "written
in C, using extensions which are defined in other standards such as
POSIX, plus some other system-specific extensions". The language and
syntax of my code is pretty close to pure "ISO C", but it calls
functions which are not defined by the standard, and those functions
do things which by there very nature are system-specific.
--
+-------------------------+--------------------+-----------------------+
| Kenneth J. Brody |
www.hvcomputer.com | #include |
| kenbrody/at\spamcop.net |
www.fptech.com | <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------+
Don't e-mail me at: <mailto:
[email protected]>