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.
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.