Prentice-Hall The C Programming Language - Second Edition
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Would you recommend the product? yes | Price you paid?: $50.00 | Rating: 8
Excellent for learning the language
Not suitable for absolute beginners
I disagree with the above poster about his comment saying "an excellent book for readers of any level". If you have never programmed before, GOOD LUCK learning from this book. Once you understand the concepts of looping, selection structures, basic file I/O, functions, etc... feel free to come back to this work of art and learn the beautifully tight language of C, but I don't feel this is a good book for beginners at all. Thats just my opinion, I think a beginner would get frustrated and give up (but it obviously depends on the person). Its like entirely learning Linux from man and info pages, it *CAN* be done but there are better, more efficient paths to take.
Would you recommend the product? yes | Price you paid?: $40.00 | Rating: 9
This will teach you how to program in C. Also makes a great reference book.
Newbies programmers may find this book complex and daunting.
Like the previous poster mentioned, this book is not for the beginning programmer. Those that are just started with programming may want to look at another language(like python :) ) or get an easier book on C. The third edition of Beginning C from Apress is a good book for beginner programmers who want to learn C or for those that can't make it through a few pages of K&R2 without their head exploding. I can recall numerous times trying to navigate through the K&R2 book only to put it down out of frustration, only to come back a day, a week, maybe even a couple of months later and finally understand some of the concepts in the book.
That being said I really liked the tutorial section at the beginning. Just dive in straight into language without getting wrapped up in all that boring intro to the language stuff. The Appendix's also provide a great refernce to the language and I refer to it often. In fact, IMO, that the most important part of the book(K&R2) is Appendix A & B. I have found over the time that I have been able to sharpen my C programming skills and have had better understanding of programming in general from reading this book. It is truly the "C Bible".
Would you recommend the product? yes | Price you paid?: None indicated | Rating: 8
A good book for intermadiate level programmer
No good choice for start
This is a book for those programmers that have a basic knowldge about programing (Imetrmadiate level) above all programmers that familiar with languages such Pascal that have concept like pointers. I think this book must be read after study books like "Teach yourself C in 21 days".
By the way where I can find source programs of book.
Would you recommend the product? yes | Price you paid?: $70.00 | Rating: 10
It does what it's supposed to do.
That's not what beginners want.
The book attempts to be a relatively brief but thorough "introduction" to C, plus a handy reference manual; it assumes, though, that the reader knows a thing or two about programming.
The reason I put introduction in quotes is that most people think that introductions don't go much in depth. This book does. However, some of the subtleties are probably lost when reading through it the first time. There is only one cure for that: reading it again.
After the journey through this book, which touches various topics such as Unix history, Hashing alogrithms, you'll know everything there is to know about C, plus a thing or two you didn't know about computers.
For first-time programmers, I would recommend either (1) start off by learning python or (2) grab a C tutorial off the net, then go get K&R2.
Would you recommend the product? yes | Price you paid?: $25.00 | Rating: 10
An excellent C book from "the horses mouth"
Not newbie friendly
I have wrote a little perl in the past, but I have a good grasp of HTML and CSS.
I started on this book and confused fast, I belive this book is not good for someone who doesn't know the difference between an compiled and interpreted language.
Luckily I had 2 friends who knew C (and one was taught out of this book) so they were available to help. I'm reading a logic book right now, then I'm going to pick the C book back up, there are better resources for someone who has never seen programming before.
If someone does work through the book for the first time, that person will KNOW C.
Would you recommend the product? yes | Price you paid?: None indicated | Rating: 10
Extremely clear and concise, great exercises
It's too bad K&R don't update this text for C99, as inline procedures, variables local to for loops, the bool type, and // comments are great additions to C.
Now that I've said everything bad I can think of about this book, on to how great this text is:
The tutorial chapter is incredible. Most textbooks will have you write useless toy programs for what seems like forever. Not K&R. There is maybe one toy you'll write early on, the temperature conversion problem, before you start building systems that are useful in day to day computer use. If you do the exercises from chapter one, you will have written a program to remove comments from a C source file, a C syntax checker, a program to count words, lines, and blanks, programs to convert blanks to tabs and back, a program to strip useless whitespace from the end of each line of input, a program to reverse a file (line by line), and so on. You're learning how to make programs that are actually part of UNIX operating system.
After the magnificient tutorial, the book leads you in-depth into the major parts of C. It's surprisingly readable, despite being thorough enough to serve anyone except for a person needing to write a C compiler.
Some of the other highlights include writing a calculator using a stack, writing your own malloc and free, and parsing C declarations to tell what they're really doing.