We wish to thank our many readers who took the time to email us with errata. If you find errata not listed on this page, please email us at deitel@deitel.com. Remember to include the book title and edition.
Note: You can determine which printing you have by looking at the bottom of the back of the second physical page in the book (page iv, but it has no page number). Just above the ISBN number is a list of numbers. For the first printing of the book, the list appears as follows:
10 9 8 7 6 5 4 3 2 1
The last number in the list is the printing number. So the above list indicates printing 1 and the following list indicates printing 2:
10 9 8 7 6 5 4 3 2
Chapter 2
Chapter 4
Bottom of Page 61, Last algebra equation
“z = pr%q + w/x - z”
Should read
“z = pr%q + w/x – y” if you want it to match the MC++ equation that follows it
- p. 65, second paragraph; “Line 16 is called a prompts the user to take a specific action.”
should be
“Line 16 calls method Write, prompting the user to take a specific action.” Page 84, 5th line from the bottom of the page
else if ( studentGradeS >= 70 )
Should be
else if ( studentGrade >= 70 )
Chapter 5
- Page 135, line 7: “Unlike the binary operators && and |, which…”
The | should be ||. - Page 135:
if ( !(grade == sentinelValue ) )
Console::WriteLine(S"grade is {0}"+ grade.ToString() );
The + should be a comma.
Chapter 8
Chapter 9
- p. 327, Fig. 9.18, Lines 17-18, x = xValue; y = yValue;
should be
X = xValue; Y = yValue;