Remix.run Logo
adamors 4 days ago

Exactly, I was looking into refreshing my C knowledge recently and K&R is still heavily recommended.

flohofwoe 4 days ago | parent | next [-]

The problem with K&R is that there never was a third edition that covered C99, which compared to C89 is almost a new language.

K&R is an interesting historical artifact about the basic design decisions of the C language and definitely recommended reading material, but you're not doing yourself a favour using it as reference or for learning the language. For that it is vastly outdated, C ist a much more enjoyable and powerful language since C99.

pjmlp 4 days ago | parent | prev [-]

Go with such a book instead,

https://www.manning.com/books/modern-c

adamors 4 days ago | parent [-]

How does this compare to https://nostarch.com/effective-c-2nd-edition ?

pjmlp 4 days ago | parent [-]

I guess it is also a good one, both authors are still active on WG14, if I am not mistaken.