I know that there are a lot of mistakes in Yashwant kanetkar's Let us C, but from a beginner's perspective I would recommend it. He has explained the things in very lucid manner and if anyone is from non-programming(i.e learning C as the very first language) background, Let UsC is quite nice. Going directly to KnR is not advised from my side, but different people have different opinions. I'm telling this from my own experience.
Originally Posted by saurav_bhasin
C How to Program by Deital is good, but extremely dense and much worse for it.
I am very happy with "a Book on C" by Al Kelley and Ira Pohl (4th edition). It's about ANSI C.
It explains everything very well and (for me) in depth.
The biggest advantage is that it starts with an "overview of c" (first chapter, about 50 pages) to get one started. Then you can read on, chapter by chapter, but with the foundations you have from the overview, it should be possible to jump to other chapters.
Very good exercises at the end of each chapter.
I have the dutch translation "De Programmeertaal C".
The C programming Language by Kernighan and Ritchie is a very good introductory book for learning C. But it is also a very concentrated book and every word has to be read with care as it contains a lot of details.
If you do not have any experience in programming, I suggest you first read the book by Balagurusamy and then K & R.
I don't recommend Let us C because it contains a lot of stuff specific to Windows which is not needed for beginners.
I have 8th edition(9th edition is out BTW!).From 5th edition ,this book have chapter on GNU/Linux platform as well.Good Job :)
Originally Posted by =CrAzYG33K=
Originally Posted by prakashjk
This is the problem........C is not an Easy language. Every wondered why System Engineers get paid the most and not Java programmers?........
Let us C does not tell you anything about :- Memoization, Defensive Programming and Writing Secured C code.
These 3 aspects are the core of any decent C program and Let us C tells you nothing about that.
And what about explaining the C libraries?......Ok C has only a bunch of libraries but <ctype.h>, <string.h> and other libraries deserve mention.
When I was getting started in C most of the introductory books on C were...well....too introductory. They explained what C was but not really what to do with it. This book by Herb Schildt Amazon.com: Born to Code in C (9780078814686): Herbert Schildt: Books
teaches with real-world projects (how to create a database, game, etc). More hands-on than many books. For the longest time it was a favorite of mine...
"Understanding Pointers in C" by Yashwant Kanetkar.
Its a very nice book, contains nice examples and easy to understand. It is best for the beginners.
I'm almost done reading The C Programming Language 2nd edition. I'm at the 8th chapter, and i started to wonder what book should i pick next.
K&R is my first book.
There are actually many good books on C. However, i feel that most times you can find just about everything that you are looking for online. What most programmers really want is a good reference and not a book explaining every possible detail on C.
Which Book Next
I just completed ANSI C By Balaguruswamy
I learned basics in loops,decision making,arrays and structure which book can come next for me
I want to learn some graphics, and other beauty about C language
This is amazing
read the book "illustrating C"
i use sams C primer plus as my first book to learn C,
i like this book , it also include many ansi c features.
and i read this book , the c programming language, i use this book as reference
C Programming is another nice book to begin. ;)
I happen to be the author of that book! Thanks for the good word. The book had so few sales that Prentice-Hall no longer prints it. I had a contract to write for PH a C++ book with the same simple approach. But I ran out of time and energy. So, it never reached publication. C or C++ is out of my professional life now. If you google my full name, you will discover where my new interest is now...
Originally Posted by plain