specializing in digital media technologies

Digital Media and Communications Insights, Inc.


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:

Please limit submitted errors to grammatical, factual, or technical problems found within the C++ Programming: Visual QuickStart Guide text itself. Please do not use this form for subjective suggestions or to ask questions. You will not necessarily receive a reply based upon any information submitted through this form! I may reply, depending upon the situation, but if you need a reply, do not use this form.

If you are experiencing problems getting something to work, please DO NOT use this form. Either use the forum for a faster reply or contact the author directly (although it could be a week or more before you see a reply).
Chapter
Page #
Book Error
Your Name
Your Email Address


Newsletter #25 Sent!
The latest newsletter went out today. If you're not subscribed to receive it, you can read it online.
(February 2, 2010)


Newsletter #24 Released
The latest newsletter went out today. If you're not subscribed to receive it, you can read it online.
(December 17, 2009)


New Blog Series on the Yii Framework
I've been writing a series of articles on the Yii framework for PHP Web development. There are currently seven posts, taking you from start to finish of the development process, with more to come.
(November 12, 2009)


more news...


If you have a question, are seeking information, want to download files, or generally have any need related to a specific book, please make sure you are in the correct Web site. Check both the title and the edition.