bjarne wrote:
Argh. My intent as I said in the previous message was to drop this, but
I'd better defend a bit.
Default User wrote:
as it is not valid C99. It was valid ARM C++ just as it was valid C89.
But the book didn't say that. It said every program in K&R2 *is* a
valid C++ program, not that they were when the book the came out. Two
different statements.
I think you should do more homework before casting doubt about other
people's statements.
I don't see that much is needed. The statement in the early section of
the book quoted here isn't accurate, although when the topic it covered
explicitly in later chapters it's of course correct.
There is a difference between C++ then and now. It's accurate to say,
"The programs were valid C++" but it's not to say (in a book about ISO
Standard C++), "The programs are valid C++".
This is not a huge deal, although it obviously caused some confusion
for at least one contributor here. I can't imagine me ever putting
together a textbook, let alone getting every single line and statement
crystal clean and unambiguous.
Again, and it bears repeating, my goal is NOT to insult, disparage, or
otherwise cast aspersions on Dr. Stroustrup over a single line in a 900
page text.
Brian (hope we can let her rest now)