News for hackers. Stuff that matters.
Re:Teach Yourself Programming in Ten Years (1998) by itronitron on Monday January 15, 2024 @05:23PM (#39006883)
Unfortunately "The C Programming Language" has enough typographical errors in it to seriously undermine it's utility as a book with which to learn programming.
Re:Teach Yourself Programming in Ten Years (1998) by trealira on Monday January 15, 2024 @06:14PM (#39007339)
What are the typographical errors? I didn't think it had any.

It does use features of C89 that may not compile after C99, but those aren't weird.

But, as someone who actually did try to use K&R to teach themselves to program, I agree it's not ideal for that. It's definitely not the best programming book ever, which some people say. The exercises are pretty good, though.

Re:Teach Yourself Programming in Ten Years (1998) by itronitron on Tuesday January 16, 2024 @03:49AM (#39010990)
In the section on Pointers and Addresses there are a few spots where the pointer or dereference operator is not included in the code examples.
Re:Teach Yourself Programming in Ten Years (1998) by trealira on Tuesday January 16, 2024 @06:46PM (#39020859)
Sorry for the late reply. Could you specify some page numbers as examples? (There's only one version of the book, so the pages are all the same.)
Re:Teach Yourself Programming in Ten Years (1998) by itronitron on Wednesday January 17, 2024 @05:24AM (#39025882)
Looks like I downloaded a bad copy... the following has an error at the top of page 87 (there are a few other errors in the same chapter but I don't have my notes handy)

https://venkivasamsetti.github.io/ebookworm.github.io/Books/...

The pdf of the book at this link does not have the error (page 84),

https://seriouscomputerist.atariverse.com/media/pdf/book/C%2...

so hopefully it's just an issue with the pdf from the github link.

Re:Teach Yourself Programming in Ten Years (1998) by layer8 on Monday January 15, 2024 @06:23PM (#39007414)
The first edition maybe?