Errata
Submit your own errata for this product.
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question
| Version | Location | Description | Submitted By | Corrected |
|---|---|---|---|---|
| Printed | Page 5 Table 1-2, 2nd row [Intel (Linux)], 2nd column [Compiler] |
"lcpc" |
Anonymous | Sep 2007 |
| Printed | Page 75 Code in middle of page |
# Generate dependencies of .ccp files on .hpp files |
Anonymous | Feb 2006 |
| Printed | Page 210 3rd line |
self operator+() { return self(-m); } |
Anonymous | Sep 2007 |
| Printed | Page 259 & 278 in the code |
#include "utils.h" // For printContainer(): see 7.10 |
Anonymous | Sep 2007 |
| Printed | Page 356 4th line from bottom |
double pi = 3.14285714; |
Anonymous | Feb 2006 |
| Printed | Page 357 The three lines just before the "Discussion" heading |
pi = 3.1429 |
Anonymous | Feb 2006 |
| Printed | Page 357 Paragraph under "Normal (the default)", last sentence |
So, by default, pi would be displayed as 3.14286, and pi times 100 |
Anonymous | Feb 2006 |
| Printed | Page 357 Paragraph under "Fixed", 2nd sentence |
...pi would be displayed as 3.142857, and pi times 100 would be 314.285714. |
Anonymous | Feb 2006 |
| Printed | Page 357 Paragraph under "Scientific", last sentence |
...pi times 1,000 would display as 3.142857e+003. |
Anonymous | Feb 2006 |
| Printed | Page 358 3rd column, lines 2, 5, 10, 12 |
pi = 3.142857 |
Anonymous | Feb 2006 |
| Printed | Page 359 10th line from top |
pi = 3142.86 |
Anonymous | Feb 2006 |
| Printed | Page 360 10th line from top |
double pi = 22.0/7.0; |
Anonymous | Feb 2006 |
| Printed | Page 376 Example 10-13, first 3 lines |
#include <iostream> |
Anonymous | Feb 2006 |
| Printed | Page 376 Example 10-13, 2nd line from end |
std::cout << buf << ' |
Anonymous | Feb 2006 |
| Printed | Page 377 Example 10-14, first 5 lines |
#include <iostream> |
Anonymous | Feb 2006 |
| Printed | Page 377 Example 10-14, line 11 |
std::cerr << "Couldn't create temp file name. |
Anonymous | Feb 2006 |
| Printed | Page 377 Example 10-14, line 14 |
std::cout << "The temp file name is: " << pFileName << ' |
Anonymous | Feb 2006 |
| Printed | Page 377 Example 10-14, line 15 |
std::ofstream of(pFileName); |
Anonymous | Feb 2006 |
| Printed | Page 377 Example 10-14, lines 20-21 |
std::ifstream ifs(pFileName); |
Anonymous | Feb 2006 |
| Printed | Page 378 Example 10-14 (continued), topmost line |
std::cout << "Just read in "" << s << "" |
Anonymous | Feb 2006 |
| Printed | Page 378 Example 10-15, first 4 lines |
#include <iostream> |
Anonymous | Feb 2006 |
| Printed | Page 378 Example 10-15, line 5 |
std::cerr << "Usage: " << argv[0] << " [new dir name] |
Anonymous | Feb 2006 |
| Printed | Page 378 Example 10-15, line 9 |
std::cerr << "Error: " << strerror(errno); |
Anonymous | Feb 2006 |
| Printed | Page 379 Code example, middle of page, first 4 lines |
#include <iostream> |
Anonymous | Feb 2006 |
| Printed | Page 379 Code example, middle of page, line 6 |
std::cerr << "Usage: " << argv[0] << " [new dir name] |
Anonymous | Feb 2006 |
| Printed | Page 379 Code example, middle of page, line 10 |
std::cerr << "Error: " << strerror(errno); |
Anonymous | Feb 2006 |
| Printed | Page 406 Table 11-1, 1st row, 2nd column |
--- |
Anonymous | Sep 2007 |
| Printed | Page 406 Table 11-1, 2nd row, 2nd column |
u 2 |
Anonymous | Sep 2007 |
| Printed | Page 406 Table 11-1, 3rd row, 2nd column |
/ |
Anonymous | Sep 2007 |
| Printed | Page 406 Table 11-1, 4th row, 2nd column |
3/2 |
Anonymous | Sep 2007 |
| Printed | Page 406 Table 11-1, 5th row, 2nd column |
2 |
Anonymous | Sep 2007 |
| Printed | Page 467 Example 13-1, 8th line |
In the line: |
Anonymous | Sep 2007 |
| Printed | Page 468 2nd line of code |
In the line: |
Anonymous | Sep 2007 |
| Printed | Page 484 3rd paragraph, 1st sentence |
"...you may want download and install the libraries..." |
Anonymous | Sep 2007 |
| Printed | Page 494 12th line in example 14-4 |
...string to wide-charactr string... |
Anonymous | Sep 2007 |
| Printed | Page 497 2nd paragraph, 2nd sentence |
"(See Example 14-2 for the definition of the class Animal.)" |
Anonymous | Sep 2007 |
