Want to receive a weekly email containing
the scoop on our new titles along with the
occasional special offer? Just click the button.
(You can always unsubscribe later by editing your
account information).

Give us an email and a password (you can use the password later to log in and
change your preferences). We'll send you a newsletter roughly once a week.

Errata for New Programmer's Survival Manual

We try to keep our books accurate, but sometimes mistakes creep
in. This page lists the errors submitted by our astute readers.
If you've found a new error, please
submit it.

The latest version of the book is P1.0,
released over 3 years ago.
If you've bought a PDF of the book and would like to upgrade
it to this version (for free), visit your
home page.

Key:TypoTech. ErrorSuggestionNot a problemNext edition

By default this page displays the errata for the latest version of
the book. If you have a previous version, select it here:

(To find out what version you have, look at the copyright page, a
few pages in from the front of the book. If it says (say)
'Second Printing', then here it'll be P2.0. If there are interim PDF
releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF

Paper

Description

Found in

Fixed in

16

#76788: The accurate page is my Chinese version. I think there is a mistake but you have not mention in the code. It is about reverse the str. char *copy = malloc(len); copy[len] = 0.
Is this illegal to access copy[len] because copy can only access 0 to len-1 ...--jkwangbest@gmail.com

#76788: The accurate page is my Chinese version. I think there is a mistake but you have not mention in the code. It is about reverse the str. char *...more...

Dave Thomas says: This is a deliberate error in the code (see the top of the next page)

P1.0
12-May-14

27

#48375: Time Complexity should be there instead of TAME COMPLEXITY--keyur

Dave Thomas says: The section is about taming complexity... :)

P1.0
21-Dec-11

93

79

#48239: The following phrase was entered twice:

The user should be able to specify the conversion as command-line arguments, -c (degrees Celsius) or -f (degrees Fahrenheit).--Li Ellis Gallardo

#48239: The following phrase was entered twice:
The user should be able to specify the conversion as command-line arguments, -c (degrees Celsius) o...more...