CDN$ 140.38
  • List Price: CDN$ 173.47
  • You Save: CDN$ 33.09 (19%)
Only 6 left in stock (more on the way).
Ships from and sold by Amazon.ca.
Gift-wrap available.
Quantity:1
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

C Programming: A Modern Approach Paperback – Apr 1 2008


See all formats and editions Hide other formats and editions
Amazon Price New from Used from
Paperback
"Please retry"
CDN$ 140.38
CDN$ 89.99 CDN$ 97.95

2014 Books Gift Guide
Thug Kitchen is featured in our 2014 Books Gift Guide. More gift ideas

Special Offers and Product Promotions

  • Join Amazon Student in Canada


Frequently Bought Together

C Programming: A Modern Approach + C Programming Language (2nd Edition)
Price For Both: CDN$ 204.40


Customers Who Bought This Item Also Bought



Product Details

  • Paperback: 832 pages
  • Publisher: W W Norton & Co Inc (Np); 2 edition (April 1 2008)
  • Language: English
  • ISBN-10: 0393979504
  • ISBN-13: 978-0393979503
  • Product Dimensions: 1.9 x 0.3 x 2.4 cm
  • Shipping Weight: 1.1 Kg
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon Bestsellers Rank: #12,916 in Books (See Top 100 in Books)

Product Description

Review

... this book will be well received because of its unique approach to the presentation of the material; it is full of examples and insights. King does not stop--as many others do--in merely explaining how the C programming language works. His well-written and well-organized book is full of advice and explanations of best practices in how to use the language most effectively. One of the most welcome aspects is that King identifies C programming 'idioms,' explains when the idioms are applicable, and shows why they are useful. The book is aimed at people with no prior programming experience, yet it is quite comprehensive in its treatment of the majority of C programming concepts. It is up-to-date in that it also covers the information needed by a C programmer in using the standard C library... -- Choice, September, 1996

A few years ago, I decided to switch from Fortran (which I had used for over 20 years) to C. I purchased about a dozen different books purporting to explain how to use the C language. Most were densely unreadable, few had a usable index, and some were riddled with errors. Now comes the book I really wanted... It is apparent that this book was written by someone who has spent time teaching the subject. The writing style is entertaining and clear. There are many good examples... Best of all, the index takes you right to the part of the book you need--it is not too sparse, and it is not cluttered with irrelevant references. The first time I picked up this book I quickly found the solution to a file-reading bug which had perplexed me for months. I am placing this book at the top of my heap of programming texts, and I am recommending it to all of my programming colleagues. -- Journal of Chemical Information and Computer Sciences, September/October, 1996

The exceptional value of the book lies in the fact that the material is well structured and is made accessible to anyone with minimal programming experience, to those unfamiliar with C, and even to those who do not know any programming language... The book accomplishes the author's stated goal of making it the ideal classroom textbook with examples... Reading this book was extremely useful, both because I have discovered new things in it and, first and foremost, because it has helped me to restructure my knowledge of C. -- Computing Reviews, February, 1997 --This text refers to an out of print or unavailable edition of this title.

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4.7 out of 5 stars
5 star
2
4 star
1
3 star
0
2 star
0
1 star
0
See all 3 customer reviews
Share your thoughts with other customers

Most helpful customer reviews

By Avenger on Feb. 26 2014
Format: Paperback Verified Purchase
nice book contain all the information i need for the course and very detail and clear! it's really help for c programming
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback Verified Purchase
As the title indicates, it is a good reference when one needs to program in C. If one is new to C, this book provide simple explanations, too.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
By nmay on Sept. 25 2011
Format: Paperback
This textbook has good examples and is a good intro to C. It also has a good explanation on pointers. Sometimes is it too wordy and you have to muddle through some garbage to get to the point.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.

Most Helpful Customer Reviews on Amazon.com (beta)

Amazon.com: 96 reviews
59 of 61 people found the following review helpful
For the Serious Student or Up-and-coming C Programmer May 27 2000
By Raymond Woo - Published on Amazon.com
Format: Paperback
I have browsed some C and C++ books in major bookstores to see how the materials are organized and presented. This one was not a book I had a chance to browse, but one which I had to buy for an extension course (Introductory C Programming) at UCLA last summer.
At first I thought King's book was hard because of a certain depth of penetration into elements of good programming practices with examples one after another. As I became serious and started to reading intently, I found out how effective King was in paving the way toward a comprehensive understanding of C programming through worked out code and annotations. King is very skilled in breaking down and building up C code, unlike certain celebrated C programming language experts who apparently do not care to be clear or are simply ineffective. So my conclusion is: Read this each chapter of this book very closely, carefully and seriously, and try to understand every last point King is raising. Also, do not neglect working out some of his exercises at the end of each chapter for the benefit of practice as well as learning C. In almost every chapter of the book, he gives very good, organized and annotated but not tedious and complex examples. The problems are generally reasonable and hardly ever too complicated because I never found them overwhelming, either from a coding perspective or mathematically. Perhaps it is because King comes across as someone who emphasizes organization, detail, clarity and explanation in his style of presentation. There are no problems dealing with heavy scientific or engineering applications for those who dread them.
Great points: (1) Fundamentals - beginning chapters goes into detail for a solid grounding of C language basics (syntax, etc.); and (2) Pointers - excellent exposition with examples, diagrams and exercises, extremely well presented for the starters who easily get confused by what pointers in C are all about; and (3) Ideas are very well connected from chapter to chapter -- some chapters are even as great as stand-alone ones for referencing. The only problems I found were: (1) Description of struct types, which are passed by value from function to function -- implied but not clearly or succintly stated in the book (compare the description in the excellent book by Kelley and Pohl, "A Book in C"); (2) Chapter on program design, which I found to be very terse and scanty in terms of information topics about designing medium size to large C programs -- also jumps into encapsulation and C++ too soon and leaves out one too many basic ideas in C program organization -- "Look before you leap", C++ is object-oriented, and is therefore much more complex and evolved, so why do too much of C++ when one must learn basics of ANSI C well beforehand!
For some reason, I feel strongly that King is following the writing style and presentation of the classical work in C programming by Kernighan and Ritchie. He even discusses the significant contributions of Kernighan in establishing the C language as the mainstay of modern programming for all kinds of applications. There are some uncanny resemblance in style and other parallels I sense in his book. King also retains a lot of the clarity in thinking and intrinsic simplicity reflected in Kernighan and Ritchie's writing style.
Because of the lengthy chapters and reading required, this is not the best ANSI C reference book in my view. Kelley and Pohl's excellent paperback, entitled "A Book in C", does far better in that respect. However, King has more good illustrated examples in his book for the newcomer. You will like his book if you like Kernighan and Ritchie's paperback classic. In fact, King has more for you. The only caveat may be that any newcomer would be well advised to try to understand a little about C before attempting to read the book, because only afterwards does King's treatment only makes sense and becomes meaningful and stimulating. Also, it may help out considerably if one finds a good instructor to teach ANSI C in formal classroom environment using King's book here (as I did last summer at UCLA Extension).
All in all: A very good no-nonsense book for the motivated beginner in C programming.
50 of 53 people found the following review helpful
Engaging, approachable and ACCURATE May 31 2008
By Bob Nelson - Published on Amazon.com
Format: Paperback Verified Purchase
I ordered K.N. King's ``C Programming: A Modern Approach (Second Edition)'' from Amazon for my recent birthday. Having had more birthdays than I care to admit, this gift to myself is right up there with a Lionel train set I got for my eighth birthday (not from Amazon, of course -- it didn't exist that long ago but passengers trains sure did :)).

In this second edition, I think that KNK is now the logical heir to K&R. That's not meant as blasphemy -- Kernighan and Ritchie's still great volume is around 20 years of age and it's unlikely they'll be getting together for K&R3. The C language has undergone enough changes (with the amendment of 1994) and C99, that a ``Modern Approach'' really is needed.

There's another author familiar to readers of the comp.lang.c newsgroup for his approachable, engaging writing style. That author is a wonderful writer but doesn't let the truth get in the way of good narrative. King, though, is an equally engaging writer but is obviously passionate about correctness and adhering to the C standard. He's also meticulous about portability so that the examples are written in pure C and not some platform-specific variant.

I've the entire book and can find hardly anything even nitpick. Aside from a minor style difference about using parentheses with the ``sizeof'' operator, which King explains his rationale for doing so, that's about it.

His explanation of C99 (and the differences from C90 are clearly indicated) made me aware of some really nice features of the current standard for the language (and makes me wonder why one very notable compiler implementer hasn't yet supported C99).

In short, get this book. The Q&A sections at the end of each chapter are very well done. The exercises and programming projects help to amplify the material presented. And King's examples will teach you more about barcodes and ISBN numbers than you ever thought possible.

If you can appreciate the work of a fine craftsman in film such as Martin Scorsese, you'll find that King is of that caliber in the realm of lucidly dealing with this technical subject.
26 of 27 people found the following review helpful
Learning C is easy with this book July 25 2004
By William Rockwell - Published on Amazon.com
Format: Paperback
This is the second of King's books I have purchased. It is also the second that I am very very pleased with.

This book presents a quick systematic clear way of learning to program in C period. This has to be the easiest programming book I have ever read that goes beyond absolute basics.

Frankly I don't understand the few negative reviews others have given the book. Yes it would have been nice to have answers to the exercises. However this is a programming book, you get the answers yourself by doing the work. Mistakes are readily apparent, simply because it won't work!

In terms of difficulty, the exercises are doable. There have been a few that did stump me.....for a little while. With a bit of rereading and some experimenting, I have managed to answer all that I have attempted.

Do yourself a favor if you are learning C and buy the book either as a stand alone or as a supplement to another book.
24 of 25 people found the following review helpful
Probably the best (although I'm biased) Nov. 9 2009
By Peter Seebach - Published on Amazon.com
Format: Paperback
Some years back, someone mentioned the first edition of this book on Usenet as a possible alternative to K&R for someone trying to learn C. I was surprised, but I got a copy of the book to find out... And he was right.

Let me get the biases out on the table first: I did technical review of this book for the 2nd edition. But... While that leaves me in a great place to be biased about it, it also means that I'm aware of just how few typos or bugs were there even in the draft versions.

This book is an excellent teaching resource; it covers the language carefully, completely, and well. However, mere clarity of communication isn't enough to make a good programming reference; you also need to have confidence that the example code works as described, that the explanations given are correct, and so on. This is one of the only books out there I feel comfortable recommending to people, without worrying that I'll end up having to correct dozens of misconceptions later.

Quite simply, this is the C book I recommend to people who want to learn C, or polish up their C. In a market full of "approachable" books which are full of errors, this book offers a combination of clarity and accuracy which is unmatched.
23 of 25 people found the following review helpful
The Best "Language" Book I've Yet to Read. March 8 2013
By helloWorld - Published on Amazon.com
Format: Paperback
I've read a few "language agnostic" books and a few "language-specific" books over the past 2 years. There is generally a wide schism between these two types of books. Let me summarize them here:

Language Agnostic (examples: SICP, Introduction to Algorithms, Introduction to Computer Science):

These books focus on building programming fundamentals. Yes, SICP and Intro to CS use Scheme and Python respectively, but they focus on offering you the foundations to write useful and delightful programs. These aren't "cook books:" they teach you how to think through and understand problems and how to solve them with computers. Most notably, there tends to be many exercises at the end of the chapters that enhance your understanding of the material. These books tend to be long and dense, but well worth the effort.

Language-Specific Books (examples: Clojure Programming, Definitive Guide to Drupal):

I've learned to loathe these kinds of books. While they give you an overview of the features, they really never go through how to combine and mix the parts to make you more comfortable with the language or framework. The thing I hate the most is the incessant language-bashing and chatting up how incredible the languages are. I'm not saying they aren't worth the money, as they usually are, but they tend to only be a starting point, leaving many questions unanswered, and all the talk about "Doing it the hard way or the Drupal Way" and "Clojure raising your game.. and oh yeah, Python, Ruby, and Java sucks" takes away valuable real-estate to get you on your way to confidently use the language when you are done reading it and ultimately distracts me from the learning material. If I wanted to be indoctrinated, I wouldn't spend $30 for a book; I'd read a blog for free.

So, what is C Programming: A Modern Approach?

It's a beautiful mix of both of the above approaches. The book, as its name implies, tells you how to program in the wonderful C language. Yes, it mentions other languages in passing in the thankfully brief introduction, but there is no bashing. The author chose to teach you how to program in C from the bottom up and let you to decide what to do about it.

This book offers the best explanation of the entire language I have ever seen. It is more thorough, modern, and complete than K&R. From the first few chapters, where you'll learn about printf and scanf, the author takes the time to describe in minute detail all the tiny nuances of the C language. If you are seeking understanding of this language, you simply cannot find a better source.

The book takes the great parts from "agnostic" books by offering tons of exercises that will delight your inner programmer. I never knew how a reverse function worked, but after writing my own reverse program, I felt enlightened. The programs have the added benefit of being relatively easy to write yet somehow able to teach you what it was trying to show you. Even if you aren't interested in learning C per se, this book will teach and reinforce many programming concepts. It is probably easy enough for a beginner to work through, yet difficult enough to delight experienced programmers all in one shot. This is an incredibly difficult target to hit, and this is one of the few books of any genre to pull it off.

I cannot suggest this book enough to anyone who has been searching high and low for a good C learning resource. The author clearly knows what he is talking about. The pacing is wonderful and I don't recall finding any programs that broke. I feel like I am sitting in the classroom of an infinitely knowledgeable and engaging professor when I read this book. It is one of the few books on programming that I have read that I feel like is worth reading from front to back, and it is one of the few programming books that has kept me engrossed in the material for hours on end. Most importantly, after searching for good C learning material, I finally feel like I "get" the language.

Thank you so much for a wonderfully written and designed book, K. N. King.


Feedback