Errata
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted by | Date submitted |
---|---|---|---|---|
Printed | Page 44 3rd line |
floating = (1 / 2) + (1 / 2); // assign floating 0.0 |
Laetitia | Aug 01, 2010 |
50 in the errata! |
Author has this note on the errata page re p50 explanation of substr(): |
Carl Barlow | Jun 16, 2010 | |
Printed | Page 130 1st paragraph (namespace math) |
I cannot understand how the author shows that all functions in a namespace do not need a 'using' clause or a 'namespace' qualification. |
Anonymous | Aug 08, 2015 |
Printed | Page 158 Answer 10-4 |
There should be one more semicolon at the end of line" std::cout<<"Fatal Error: Abort\n";exit(8) ;" |
Thanooj | Apr 06, 2022 |
Printed | Page 190 Middle |
"int two_bits:3" should be "int two_bits:2" |
Darren Harker | Jan 13, 2011 |
Printed | Page 206 1/3 down |
"...all functions declared in a class..." should be "...all functions defined in a class..." |
Darren Harker | Jan 13, 2011 |
Page 231 231 (top - code snipped) |
missing '}' for the first init_array_1() function definition. confirmed with the downloaded sample code |
Baskin Tapkan | Nov 07, 2012 | |
Printed | Page 325 Casting |
The statement: "C++ automatically calls this function whenever it wants to turn a fixed_pt into a long int." |
Aaron Pitman | Jul 17, 2022 |
Printed | Page 325 Casting |
The statement: "C++ automatically calls this function whenever it wants to turn a fixed_pt into a long int." |
Aaron Pitman | Jul 17, 2022 |
Printed | Page 355 Israel |
The function that inserts a node at head of ordered linked list does not work correctly. |
Andrei Cheremskoy | Jul 21, 2012 |
Printed | Page 372,373 function definiton |
In the function definition for push_three() and push(), the second parameter is "const int item 3" which is incorrect and should be "const int item2". |
Anonymous | May 12, 2010 |
Printed | Page 373 code at top of page |
The reference to "stck" (as in stck::push(item1);")should, I believe, be "stack". This error is repeated 3 times in same code snippet. Note from the Author or Editor: |
Joe Barcelo | Feb 06, 2010 |
Printed | Page 373 Code at top |
"stck::push..." should be "stack::push..." x3 |
Darren Harker | Jan 13, 2011 |
Printed | Page 387 Question 21-1 |
The text "Why does Example 21-1 fail..." should be "Why does Example 21-5 fail...". |
Anonymous | May 12, 2010 |
Printed | Page 387 2/3 down |
"Why does Example 21-1 fail..." should be "Why does Example 21-5" |
Darren Harker | Jan 13, 2011 |
Printed | Page 462 3rd Paragraph |
"...fact that each mode..." should be "...fact that each node" |
Darren Harker | Jan 13, 2011 |
Printed | Page 467 Code in middle |
"the_impelementation" should read "the_implementation" |
Darren Harker | Jan 13, 2011 |
Printed | Page 477 Code Comment |
"This is a mult-line comment" should be "This is a multi-line comment" |
Darren Harker | Jan 13, 2011 |