Support Page for C++ Demystified

This page contains errata for this book.

 

 

 

 

 

 

Page 29

 

Table 2-2 provides incorrect ranges for several data types.

 

unsigned short should be 0 to 65,535 (not 65,365)
unsigned int should be 0 to 4,294,967,295 (not 4,294,987,295)
unsigned long should be 0 to 4,294,967,295 (not 4,294,987,295)

 

Page 119

 

Table 6-4, first row, !Expression column, should read "false" instead of "true."

 

Page 127

 

The second sentence of the paragraph in the middle of the page begins: "Placing the ++ before the variable num is called postfix incrementing." It should instead read: "Placing the ++ after the variable num is called postfix incrementing." In other words, the word "before" should be "after."


Page 207

The output should be

Enter your name: Jeff Kent
Your name is Jeff Kent

instead of:

Enter your name: Jeff Kent
Your name is Jeff