ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I tried K&R, but personally I preferred Sam's "How to Learn C in 21 Days", so I switched over to that - it's meant for people with no programming experience, so you can skim the first few chapters quite easily.
John G
Last edited by JohnGraham; 12-13-2009 at 09:26 AM.
My standard advice on books: no one book is good enough for a subject about which you are serious. For learning, you will want something tutorial in nature, with simple examples. Soon after using that, you will need a reference book, with just the bare facts organized by small subjects, such as function names. Then, you will want something more meaty, or possibly problem-specific. I trust most things published by O'Reilly, especially of the reference category. Dummies books, might suffice for a while as a first tutorial.
K&R is good, but a bit terse. I've used this http://users.soe.ucsc.edu/~pohl/abc4.html a lot. They do line-by-line explanations of their sample progs, so you get a really clear idea of what is going on.
I love this one!!! And it's really pleasant to read.
I'm a technical books addict (I think not a so common addiction), and thanks to amazon, I can feed my addiction without spending so much... Here's my best of:
"C traps and pitfalls" by Koenig, the second book on C to read when beginning, after the bible (the K&R of course)
"Expert C programming" by Van der Linden, as I'm not english, it takes me a while to understand the connection between the wrapper, and the 2nd title, "deep C secret"...
"Safer C" by Les Hatton, not for the beginner but if you want to make serious C programming, you can not go without it.
"C unleashed" introduces some interesting techniques
If you're interested in numerical processes, two more titles:
"C language algorithms for signal digital processing" by Embree and Kimble
"Numerical recipes", the C version (didn't read the C++ one)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.