ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
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.
From a programmer's view, what is the best beginning C programming book you've read? I've been wanting to program for over 10 years now and am dedicating myself to it, once I can take a few years to become fluent in it, of course.
I agree that Kernighan and Ritchie's The C Programming Language Second Edition is the best C book out there, but it assumes that you're familiar with some other programming language. For an absolute intro textbook, I've heard good things about C Programming: A Modern Approach by K. N. King, but I've not actually read it myself. You should probably avoid C For Dummies, as it has a lot of mistakes that may not be apparent at first, buy will trip you up sometime if you get into the habit of making them.
My advice would be to learn ANSI C well and then branch off into system dependent features such as the *nix or Windows API.
I found it to be a simple book for the new programmer. It seemed to be easily readable and comprehendable. I no longer use that book, and I use K&R's "The C Programming Language". I don't think that I would have enjoyed reading the K&R book as much as a newbie... but I would have still learned C. And so will you, so stop stalling and go get a book and learn C! The language that made obfuscation the norm!
: a detailed and yet refined explanation of the source code(we all know that the source code itself is the best text book)
i have never seen another book as good as that one.
in fact the open source community is rich with beautiful source codes. but it is a pity that there are few books explaining how those codes are implemented. this is perhapes not nessary for gurus, but for newbie-programmers such kind of books will be an invaluable gold-mine.
the above-mentioned "The C Programming Language" is for desk-top reference.
and "C By Example" is boring. u dont feel the progress after following it.
I've found Dummies books to be a hit or miss quantity. Some are good (I liked Unix for Dummies for instance), and some IMO aren't. As I posted above, I don't like C For Dummies for a variety of reasons. Remember, with Dummies books, some things are oversimplified. If you're going to get serious about working with something (a language, tool, OS, whatever), you do need to come to a point where you can understand that complexity.
I have been teaching C from last 7 years. I don't know whether you ppl use Indian authors books or not. well here r few books u can start with.
Programming for the Turbo C and C++ by Robert Lafore
Let Us C by Yashvant Kanethkar
C by Exampls Greg Perry
C How to program by Deitel and Deitel
Originally posted by rmy1 From a programmer's view, what is the best beginning C programming book you've read? I've been wanting to program for over 10 years now and am dedicating myself to it, once I can take a few years to become fluent in it, of course.
K & R's "The C Programming Language" is the bible of C. I see, not surprisingly, that others in this thread agree. Compliment that book with "Advanced UNIX Programming (2nd Edition)" and "Unix Network Programming, Vol. 1: The Sockets Networking API, 3rd addition" and you are set to go. Newbies(to programming) may prefer something more intro like Beginning C, Third Edition which is good from what I have seen.
by the same author assumes you know nothing about programming and goes more slowly. It is a real "teaching" book. There is also a follow-up book C Programming - An Advanced Course if you want to go further.