C Programming: A Modern Approach, 2nd Edition

Author: Kim N. King
All Hacker News 7


by monaghanboy   2018-01-24
I would recommend https://www.amazon.com/C-Programming-Modern-Approach-2nd/dp/.... There's specifically a section on organizing large projects IIRC.
by anonymous   2017-10-22
Yes, this code is full of some very basic errors that show you don’t know the basics of the language. You need to find a good C book (I’ve heard good things about King’s [C Programming: A Modern Approach](https://www.amazon.com/C-Programming-Modern-Approach-2nd/dp/0393979504/ref=sr_1_1?ie=UTF8&qid=1508067873&sr=8-1&keywords=c+programming+a+modern+approach)). There are some very basic concepts of C you don’t yet understand, and SO is not meant to be a basic tutorial site.
by nonrecursive   2017-08-19
I've really liked http://www.amazon.com/C-Programming-Modern-Approach-2nd/dp/0...
by AsyncAwait   2017-08-19
I cannot recommend "C Programming: A Modern Approach" [1] enough.

[1] - https://www.amazon.com/C-Programming-Modern-Approach-2nd/dp/...

by philonoist   2017-08-19
For a beginner in Programming (not C)

If you Reside in India - SK Srivastava & Bagalurusamy[1]

Else - K N KING[2]

[1] - amazon.in/Programming-ANSI-C-Balagurusamy/dp/933921966X/ & http://www.amazon.in/C-Depth-Deepali-Srivastava/dp/818333048...

[2] - amazon.com/C-Programming-Modern-Approach-2nd/dp/0393979504

by Bizkitgto   2017-08-19

I'd start here with the Aalto C Programming MOOC based on K&R.

Then take on Harvard's CS50 book by King to accompany the course.

Finally to really learn C - you should read K&R 's The C Programming Language (the bible for C) at some point and tackle every problem in the book!

by Wiggledan   2017-08-19

C Programming, A Modern Approach 2nd Ed by K.N. King

This book is hands down the best programming book I've seen, and is a good C reference manual as well. It has tons of examples, exercises, figures, etc., and stays digestible and even occasionally entertaining throughout. Just reading the preface should be enough to get you hooked.

Also, C is a great first language, for a multitude of reasons. It might be harder to grasp initially than something like Python, but it gives you a better understanding of what's happening under the hood of your computer. Plus it's the grand-daddy of many popular languages, and so many of its concepts carry to other languages well.

by cyrusol   2017-08-19

Pretty disillusioning advice, but what does it help if you're the best of the best if you have burnout?

But to stay on topic, C Programming - A Modern approach is telling not so much about C itself, but more about the real-world usage of the C infrastructure - which is also applicable to C++ and Rust - namely make, gcc, clang/LLVM, autotools etc. It should help you a lot handling Linux + programming. These days, students get their CS masters and never have linked an external library in their life, which is sad. (It's a quite expensive book, but of course, there is an ebook download, somewhere..)