K
Keith Thompson
Merrill & Michele said:Flash Gordon wrote: [...][...]3) Think about why it might say ANSI rather than ISO
4) Consider the fact that you are far more likely to use a compiler that
can properly support (modulo bugs) C89 and C99.
1) I wasn't complaining. I feel like I'm in Sunday school with the five
books of Moses containing two different sequences of the creation story, and
I can't get anyone to admit that one isn't right.
Neither C90 nor C99 is "wrong". The C90 standard describes a version
of the C language; the C99 standard describes a later version of the C
language. Both are correct (modulo some minor internal
inconsistencies), even though they differ from each other. They're
not variant attempts to describe some common external reality, they're
definitions of two different things. (Comparison to creation stories
is left as an exercise.)
[...]
3) At the risk of sounding stupid, I don't know the difference.
See section 11 of the C FAQ, particularly 11.1, at
<http://www.eskimo.com/~scs/C-faq/top.html>. The HTML version is out
of date, but there's a more recent gzipped text version at
4) Please explain.
I think he meant to say that "you are far more likely to use a
compiler that can properly support (modulo bugs) C89 *than* C99".
Most current C compilers support the C89/C90 standard. Many support
some C99 features, but few support the entire standard. Because of
this, code that depends on C99 features cannot (yet) be considered
portable.