or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
34 used & new from $20.71

Have one to sell? Sell yours here
 
   
C in a Nutshell (In a Nutshell (O'Reilly))
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  
4.6 out of 5 stars  See all reviews (11 customer reviews)

List Price: $39.95
Price: $26.37 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.58 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Thursday, February 11? Choose One-Day Shipping at checkout. Details
23 new from $23.99 11 used from $20.71
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Best Value

Buy C in a Nutshell (In a Nutshell (O'Reilly)) and get C Pocket Reference at an additional 5% off Amazon.com's everyday low price.

C in a Nutshell (In a Nutshell (O'Reilly)) + C Pocket Reference
Buy Together Today: $35.82

Show availability and shipping details

  • This item: C in a Nutshell (In a Nutshell (O'Reilly))

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • C Pocket Reference

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details


Customers Who Bought This Item Also Bought

C Pocket Reference

C Pocket Reference

by Peter Prinz
4.2 out of 5 stars (5)  $9.95
C++ in a Nutshell

C++ in a Nutshell

by Ray Lischner
4.6 out of 5 stars (19)  $26.37
Practical C Programming, 3rd Edition

Practical C Programming, 3rd Edition

by Steve Oualline
3.9 out of 5 stars (50)  $23.07
C Programming Language (2nd Edition)

C Programming Language (2nd Edition)

by Dennis M. Ritchie
4.7 out of 5 stars (280)  $46.38
Mastering Algorithms with C

Mastering Algorithms with C

by Kyle Loudon
3.4 out of 5 stars (15)  $26.37
Explore similar items

Editorial Reviews

Review

"As with much of the Nutshell series, this book is aimed at the competent programmer who needs a quick reference, not at the beginner. As a teacher of C programming, I had been looking for a reference work which covered the C99 version of the language standard, and did so in a readable format free of omissions and errors. "C in a Nutshell" did not disappoint, and the utility of the standard library reference was a welcome surprise." - Graham Lee, news@UK, June 2006 "This excellent book should have been written years ago." - Paul Hudson, Linux Format, November 2006 - 8/10

Product Description

Learning a language--any language--involves a process wherein you learn to rely less and less on instruction and more increasingly on the aspects of the language you've mastered. Whether you're learning French, Java, or C, at some point you'll set aside the tutorial and attempt to converse on your own. It's not necessary to know every subtle facet of French in order to speak it well, especially if there's a good dictionary available. Likewise, C programmers don't need to memorize every detail of C in order to write good programs. What they need instead is a reliable, comprehensive reference that they can keep nearby. C in a Nutshell is that reference.

This long-awaited book is a complete reference to the C programming language and C runtime library. Its purpose is to serve as a convenient, reliable companion in your day-to-day work as a C programmer. C in a Nutshell covers virtually everything you need to program in C, describing all the elements of the language and illustrating their use with numerous examples.

The book is divided into three distinct parts. The first part is a fast-paced description, reminiscent of the classic Kernighan & Ritchie text on which many C programmers cut their teeth. It focuses specifically on the C language and preprocessor directives, including extensions introduced to the ANSI standard in 1999. These topics and others are covered:

  • Numeric constants
  • Implicit and explicit type conversions
  • Expressions and operators
  • Functions
  • Fixed-length and variable-length arrays
  • Pointers
  • Dynamic memory management
  • Input and output

The second part of the book is a comprehensive reference to the C runtime library; it includes an overview of the contents of the standard headers and a description of each standard library function. Part III provides the necessary knowledge of the C programmer's basic tools: the compiler, the make utility, and the debugger. The tools described here are those in the GNU software collection.

C in a Nutshell is the perfect companion to K&R, and destined to be the most reached-for reference on your desk.


Product Details

  • Paperback: 624 pages
  • Publisher: O'Reilly Media; 1 edition (December 16, 2005)
  • Language: English
  • ISBN-10: 0596006977
  • ISBN-13: 978-0596006976
  • Product Dimensions: 8.9 x 6.1 x 1.3 inches
  • Shipping Weight: 1.7 pounds (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (11 customer reviews)
  • Amazon.com Sales Rank: #212,212 in Books (See Bestsellers in Books)

More About the Author

Peter Prinz
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Peter Prinz Page

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?

C in a Nutshell (In a Nutshell (O'Reilly))
64% buy the item featured on this page:
C in a Nutshell (In a Nutshell (O'Reilly)) 4.6 out of 5 stars (11)
$26.37
Practical C Programming, 3rd Edition
12% buy
Practical C Programming, 3rd Edition 3.9 out of 5 stars (50)
$23.07
C Pocket Reference
11% buy
C Pocket Reference 4.2 out of 5 stars (5)
$9.95
C Programming Language (2nd Edition)
8% buy
C Programming Language (2nd Edition) 4.7 out of 5 stars (280)
$46.38

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(3)
(3)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

11 Reviews
5 star:
 (8)
4 star:
 (2)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.6 out of 5 stars (11 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
7 of 7 people found the following review helpful:
5.0 out of 5 stars a comprehensive reference and much more, December 2, 2007
every day there are fewer reasons to purchase computer books. so much documentation is online or included as "man" or "info" pages that reference manuals have almost become extinct. "c in a nutshell" proves there can be real value in a book, even on a topic as "settled" as c. the reference is exhaustive, and there are many examples. but there is more to this book than just a c reference...this book really addresses the entirety of developing with common c tools like gcc and make, as well as adding discussion for memory management, pointers, and other thornier topics. the nice thing is that because the world of c isn't likely to change radically from this point, you can likely get use out of this book for another decade.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
13 of 16 people found the following review helpful:
5.0 out of 5 stars Excellent C Reference, September 8, 2006
By Daniel McKinnon (Tewksbury, MA USA) - See all my reviews
(TOP 500 REVIEWER)   
Chapter Overview

01. C Basics
02. Types
03. Literals
04. Type Conversions
05. Expressions & Operators
06. Statements
07. Functions
08. Arrays
09. Pointers
10. Structures, Unions, and Bit Fields
11. Declarations
12. Dynamic Memory Management
13. Input & Output
14. Preprocessing Directives
15. Standard Headers
16. STL Functions Overview
17. STL Functions in Detail
18. Compiling with GCC
19. Using make to build C programs
20. Debugging with GDB

Book Review

For all new and experienced C programmers, this is an absolute must-buy reference to have at your side! Extremely well-written, laid out in a wise and efficient manner, this book will cover all the basics of C programming like function declarations, logic branches, looping methods, struct creation, etc etc etc. Aside from the basics of creating C programs, you will also learn how to use the GNU compiler, GDB debugger, make files, the whole shebang! Probably my favorite part of this book is the deep analysis of the standard library, so you can eliminate the basics of C programming altogether and avoid re-inventing the wheel when so much has already been done for you!!!

For anyone that is learning or wants to learn how to use C in the best way possible, pick up this book YESTERDAY, you won't regret it!!!

***** HIGHLY RECOMMENDED
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
5 of 6 people found the following review helpful:
4.0 out of 5 stars Good supplemental resource, September 21, 2007
Amazon Verified Purchase(What's this?)
I'll admit that I'm a fan first and foremost of K&R, but this is a good reference too. It takes a little more time to explain some concepts than K&R, and does it in a way that can increase your learning. So while I wouldn't call this a drop-in replacement for K&R, it is definitely a good additional resource, one that I turn to almost as often as I turn to K&R.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars Look for a cow on the cover Practical C not C++
Look for a cow on the cover of this book. I bought this book for a C in UNIX class. The C part is great. Read more
Published 2 months ago by bernie

4.0 out of 5 stars The Perfect Desk Reference for C
I bought this because of it's section on GCC and GDB. The book is an excellent reference. The examples (for everything) are good and to the point. Read more
Published 4 months ago by Frank Villasenor

5.0 out of 5 stars Excellent C reference
This is really an excellent book. This book is really intended for people who already are familiar with C. It isn't intended to teach you the language. Read more
Published 16 months ago by Jonathan M. White

3.0 out of 5 stars Don't read if you aren't already familiar with C
This is not a bad book, but not a great one either. The authors assume that the reader already knows almost everything about C and they are just filling in the holes. Read more
Published 17 months ago by D. Dobkin

5.0 out of 5 stars Excellent Reference
This book is a model of brevity and thoroughness. I wish every programming reference could be written this way. Heck, I wish I could write this way.
Published 20 months ago by John W. Robertson

5.0 out of 5 stars Excellent reference
A really good book that explains C clearly. I especially like the standard library reference that is included and also the sections on GCC and GDB.

Published on June 13, 2007 by Pavan Kandepet

5.0 out of 5 stars good c book
an excellent book on c for the advanced C user. This is definitely not a book for a newbie to C, but well worth adding to your library.
Published on March 13, 2007 by T. M. Lassak

5.0 out of 5 stars VERY VERY HIGHLY RECOMMNDED!!
Are you a C programmer? If you are, then this book is for you. Authors Peter Prinz and Tony Crawford, have done an outstanding job of writing a book that is a complete reference... Read more
Published on March 9, 2007 by John R. Vacca

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...


Create a guide

Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.