Chapter 3 Page 66 small error
In the "Best practices : Code efficiency", 2nd paragraph:
...wrap-around issues where incrementing an int value that is signed might go from 32,767 to -32,767...
should be:
incrementing a short value ...
An "int" has no problem with 32,768 or more, but "short" will make "a full circle" and start over from its lowest value.
|