|
|
|
Suggested ImprovementsI've received a number of suggested improvements to the book. Most will have to wait until the next edition, but I've listed them here because they should be of interest to many readers. Page 11.
The Page 11. Richard Stallman's complaint is not limited to high-priced software; he disapproves of cheap PC software too. Rather, his objection is to proprietary software. (Peter Seebach) Page 83. In Exercise 8, "speed" would be a more accurate term than "velocity," which is normally used to describe vectors having both a magnitude and a direction. (Neil Zanella) Page 112.
The discussion of integer constants lacks precision. Decimal
constants too large to be long integers are treated as unsigned
long integers. Octal and hex constants go Page 150.
It would be better to initialize the Page 151.
There should be a warning that the expression Pages 242 and 266. There are systems where changing the contents of string literals is not possible, as in "segmentation fault, core dumped". (Peter Seebach) Page 248.
Page 257.
It should be pointed out that you can't legally define
Page 336. There should be a cross-reference to automatic versus static storage duration. (Jim Clarke) Pages 341-344.
Use Pages 388 and 394.
Subtracting integer values to perform a comparison is risky,
because of the possibility of overflow. The Page 459.
Page 479.
When calling
we could write
(Peter Seebach) Section 22.6. There should be a warning here or in the Q & A section at the end of the chapter that writing out data structures containing pointers and then trying to read them back in will almost always give the wrong result. (Dave Wortman) Page 527.
The semicolon at the end of the Page 568.
The semicolon at the end of the |