B
Ben Pfaff
E. Robert Tisdale said:Please just back away from your copy
of the ANSI/ISO C standards documents a little.
A declaration is a statement.
Nope.
E. Robert Tisdale said:Please just back away from your copy
of the ANSI/ISO C standards documents a little.
A declaration is a statement.
E. Robert Tisdale said:Yes, but the ANSI/ISO standards documents are *not* Holy Scripture --
they are not even a dictionary of the English language.
Your attitude reminds me of an olde tyme preacher
E. Robert Tisdale said:Statements are *terminated* with a semicolon ;
A declaration is a statement.
An executable statement is an imperative.
Your attempt to narrow these definitions is anal.
It doesn't contribute anything except confusion.
Ben said:C99 *is* an ANSI standard.
Richard Heathfield said:Just for the sake of completeness:
In 1999, ISO ratified ISO/IEC 9899:1999 as a replacement for ISO/IEC
9899:1990. It was not until 2000 that ANSI adopted this standard, so I
suppose we ought really to say that C99 is an ISO standard, and C2000 (or,
for those who have already forgotten Y2K, perhaps C00) is perhaps a more
accurate name for the new ANSI standard. (They are, however, effectively
the same standard, so IMHO Ben was quite within his rights to say that C99
is an ANSI standard. I am expanding his statement, rather than correcting
it.)
Micah said:At this point, it's worth pointing out that certain *other*
similar changes were *not* made; for example:
while (int c = getchar())
...
Is still illegal in C.
Jeremy Yallop said:[is legal]for (int i = 0; i < x; i++) ....;
while (int c = getchar())
...
Is still illegal in C.
Were
these additional changes considered and rejected by the committee, or
simply not considered at all?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.