The C Programming Language by Brian W. Kernighan and Dennis M. Ritchie.
A must, but may be complemented with Google and many other books
The C Programming Language by Brian W. Kernighan and Dennis M. Ritchie.
A must, but may be complemented with Google and many other books
C++ , The Complete Reference by Herb Schildt.
Pros: A huge (1k page) reference to the entire language + the standard libraries. Although it is a "reference", it makes a good learning tool as well while being significantly more analytical and thorough than most other programming books. Devotes a quarter of the book to the standard C subset of C++, which is great for anyone who is only concerned with c.
Cons : Writing style is extremely information dense and may be too dry for some readers. There are no exercises or problems for the reader (it is a "reference", after all). Additionally, the book assumes some prior programming experience on the part of the reader and is not a good read to learn what loops or variables (or other basic concepts) are.
First, this is C, not C++.Originally Posted by Zaff
Second, any recommendation for Schildt requires you to reference an edition of the book. His early work is widely panned for being horrid.
http://catb.org/jargon/html/B/bullschildt.html
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*