- Book Home :
- Table of Contents :
- Downloads :
- Errata :
- Forum :
C++ Programming: Visual QuickStart Guide-->Errata
Unfortunately, despite the best efforts of myself, the technical editor, the copy editor, and the line editor, despite the multiple revisions, errors still occur. This page lists all the errors found in the book.
Note: errors are corrected in subsequent printings and therefore your particular copy may not contain all of the following.
You may also find the solution to your problem by using the book's corresponding forum. Signficant changes in the technology will be addressed there and you can also find problems and solutions encountered by other readers.
Known Errors in the Book:
| Chapter | Page # | Description | Date Added |
| 3: Operators and Control Structure | 58 | In the last line of code at the bottom of the first column, a / b is 1.5, not 3.5 (d'oh!). | March 14, 2006 |
| 3: Operators and Control Structures | 78 | On page 78, in Step 3, and on page 79, in Script 3.5 (on line 55), the word "reasonable" is misspelled. | August 23, 2006 |
| 4: Input, Output, and Files | 107 | In the last tip, the code is missing cin before gcount(). The correct code is std::cin.ignore(std::cin.gcount() + 1);. | March 14, 2006 |
| 4: Input, Output, and Files | 127 | On line 3 of the fourth paragraph, C:\\path\to\\filename.ext. should actually be C:\\path\\to\\filename.ext. (The second backslash is missing before "to".) | March 14, 2006 |
| 6: Complex Data Types | 182 | In the first two example lines of code it should be std::cout << (int)3.14; std::cout << int(3.14); |
July 24, 2006 |
| 7: Introducing Objects | 213 | The comments in Script 7.2 are incorrect. For the area(), perimeter(), and isSquare() methods, the comments suggest they take arguments when they do not. | November 14, 2006 |
| 7: Introducing Objects | 213 | The comment on line 39 of Script 7.2 should indicate that the area() method returns an integer. | October 26, 2009 |
| 8: Class Inheritance | 257 | In the second tip, it should be ... like Gerbil or Horse... as those would be class names, not methods. | July 24, 2006 |
| 8: Class Inheritance | 259 | At the end of the text in Step 3, there's a double quotation mark missing after name << " goes 'woof-woof'. | July 24, 2006 |
| 9: Advanced OOP | 271 | Lines 71-73 of Script 9.1 are missing. Those three lines are: int Pet::getCount() { return count; } |
March 22, 2006 |
| 9: Advanced OOP | 272 | The implementation of the Pet::getCount() method described in Step 7 is missing from Script 9.1. | July 24, 2006 |
| 9: Advanced OOP | 274 | The first line in the first tip should say "static members" (plural). | August 30, 2007 |
| 9: Advanced OOP | 279 | On the second line of the second paragraph, the accented "O" character should actually be a dash. | August 30, 2007 |
| 12: Namespaces & Modularization | 410 | The definition of the headerNum variable in the header.h file should be changed to read static const unsigned short headerNum = 5; This fixes an error message that can appear during compilation. For more information, see the corresponding forum. |
August 30, 2007 |
| Click here to view the errata in the order they were submitted. Click here to view the most recent errors first. Click here to view the errata by page number. |
|||
Submit an Error:

Newsletter #30 Sent!
The latest newsletter went out today. If you are not subscribed to receive it, you can read it online at http://www.dmcinsights.com/newsletter.php?n=30.(August 12, 2010)
Newsletter #29 Sent!
The latest newsletter went out today. If you are not subscribed to receive it, you can read it online.(June 24, 2010)
Newsletter #28 Sent!
The latest newsletter went out today. If you are not subscribed to receive it, you can read it online.(May 29, 2010)
