Hacker News Comments on
C Programming: A Modern Approach, 2nd Edition
·
9
HN comments
- This course is unranked · view top recommended courses
Hacker News Stories and Comments
All the comments and stories posted to Hacker News that reference this book.For the professional programmer, knowing other languages and getting into C, besides the two great recommendations above, would recommend:"C Programming: A Modern Approach, 2nd Edition" - https://www.amazon.com/C-Programming-Modern-Approach-2nd/dp/...
Note the above book is good for its quality as a reference, but not enterily considered as "modern". For a more updated approach I would also recommend:
"Modern C" - https://www.manning.com/books/modern-c
and
"Effective C" - https://nostarch.com/Effective_C
The first book on the language:
"C Programming Language, 2nd Edition" - https://www.amazon.com/Programming-Language-2nd-Brian-Kernig...
Is interesting from a historical perspective, but considered as not a recommended resource for learning C.
Edit: If you are learning C there is something quite important you need to know... C and C++ are two completely different languages, and that is how you should approach your learning. In other words, don't go learning the C in C++ :-)
⬐ belterEdit: If you are learning C there something quite important you need to know... C and C++ are two completely different languages, and that is how you should approach your learning. In other words, don't go learning the C in C++ :-)
I liked "C Programming: A Modern Approach"[1]. It has been several years but as I recall it was well suited for self study and was pretty explicit in calling out places it was talking about C99 as opposed to C89.[1]: https://www.amazon.com/C-Programming-Modern-Approach-2nd/dp/...
⬐ chucksmashYou might also take a look at this Minecraft clone in C[1]. Uses sqlite to persist state so you can see how you might interact with a database as well. Quite modern and readable in that most functions outside main.c are <20 lines long. It's also cross platform and should work on Windows, Mac and Linux.
I would recommend https://www.amazon.com/C-Programming-Modern-Approach-2nd/dp/.... There's specifically a section on organizing large projects IIRC.
⬐ fellellorThis is a very thorough, detailed book on the topic. It's pretty awesome.
I cannot recommend "C Programming: A Modern Approach" [1] enough.[1] - https://www.amazon.com/C-Programming-Modern-Approach-2nd/dp/...
I'd say you just get the book "C Programming: A Modern Approach" by K.N. King. At the end of every chapter there are some exercises & challenges.It's an excellent book (see the ratings on Amazon) and also fun to read through.
C should be much easier to learn than C++. The language is much more basic feature-wise and the standard C library is very small indeed.
[0]: http://www.amazon.com/Programming-Modern-Approach-2nd-Editio...
Perhaps, if you're interested in learning to write well-written C code, you might be interested in the book "C Programming: A Modern Approach"[0] by King. Coding style is an important topic in his book.[0]: http://www.amazon.com/Programming-Modern-Approach-2nd-Editio...
⬐ zuraThank you, seems very interesting. Usually, I only write pure C code when I really have to. Otherwise, I see no reason why someone should restrict "shimself" from using C++.
I would recommend "C: A Modern Approach", 2nd ed by King (http://www.amazon.com/Programming-Modern-Approach-2nd-Editio...)It's a hefty tome but that's not necessarily bad if you want to (re-)learn the language and the tricks in a proper way. Easily in my personal Top 5 books for C (The others are in no particular order: "Pointers on C", "Expert C Programming: Deep C Secrets", "The Standard C Library", "C Interfaces and Implementations".)
I've really liked http://www.amazon.com/C-Programming-Modern-Approach-2nd/dp/0...
I'd go with http://www.amazon.com/Reference-Manual-Samuel-P-Harbison/dp/... (non-aff link) for reference and something like one of these (non-aff links) for learning:http://www.amazon.com/C-Programming-Modern-Approach-2nd/dp/0...
http://www.amazon.com/Study-Guide-Programming-Modern-Approac...
http://www.amazon.com/Programming-3rd-Stephen-G-Kochan/dp/06... <=Dunno if it covers C99 either, but very basic