Automotive Holiday Deals Books Gift Guide Books Gift Guide Shop Men's Athletic Shoes Learn more nav_sap_SWP_6M_fly_beacon Black Friday egg_2015 All-New Amazon Fire TV Beauty Deals Martha Stewart American Made Find the Best Purina Pro Plan for Your Pet Amazon Gift Card Offer minions minions minions  Amazon Echo Starting at $84.99 Kindle Black Friday Deals Shop Now HTL
C++ Cookbook (Cookbooks (O'Reilly)) and over one million other books are available for Amazon Kindle. Learn more

Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your email address or mobile phone number.

  • List Price: $49.99
  • Save: $17.51 (35%)
FREE Shipping on orders over $35.
In Stock.
Ships from and sold by Gift-wrap available.
C+++Cookbook+%28Cookbooks+%28... has been added to your Cart
Condition: Used: Good
Comment: PLEASE READ FULL DESCRIPTION -USED GOOD- This book has been read and may show wear to the cover and or pages. There may be some dog-eared pages. In some cases the internal pages may contain highlighting/margin notes/underlining or any combination of these markings. The binding will be secure in all cases. This is a good reading and studying copy and has been verified that all pages are legible and intact. If the book contained a CD it is not guaranteed to still be included. All items are packed and shipped from the Amazon warehouse.
Sell yours for a Gift Card
We'll buy it for $8.22
Learn More
Trade in now
Have one to sell? Sell on Amazon
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++ Cookbook (Cookbooks (O'Reilly)) Paperback – November 15, 2005

9 customer reviews

See all 3 formats and editions Hide other formats and editions
New from Used from
"Please retry"
"Please retry"
$19.00 $14.94

$32.48 FREE Shipping on orders over $35. In Stock. Ships from and sold by Gift-wrap available.

Frequently Bought Together

  • C++ Cookbook (Cookbooks (O'Reilly))
  • +
  • Practical C++ Programming, Second Edition
  • +
  • C++ in a Nutshell
Total price: $90.90
Buy the selected items together

Editorial Reviews

Book Description

Solutions and Examples for C++ Programmers

About the Author

Ryan Stephens is a software engineer, writer, and student living in Tempe, AZ. He enjoys programming in virtually any language, especially C++. His interests include the fields of information retrieval and data mining, and pretty much anything that has to do with algorithms and large data sets. When he's not working, writing, or programming, he plays with his kids, works on his house, or goes cycling.

Christopher Diggins is a freelance software developer and writer who has been programming computers since he was "haut comme trois pommes". Christopher writes regularly for the C++ Users Journal, and is the designer of the Heron programming lanugage.

Jonathan Turkanis is the author of the Boost Iostreams library and several other open source C++ libraries covering areas including smart pointers, runtime reflection, component architectures and aspect-oriented programming. He is a Ph.D. candidate in mathematical logic at the University of California at Berkeley.

Jeff Cogswell has been programming in several languages for many years. His background was previously in telecom, writing software for such strange things as network management protocols. Lately, however, his work has focused more on web development. After spending a few years in both Florida and California, Jeff now lives in Michigan. He's holding out for some warmer weather.


Hero Quick Promo
Holiday Deals in Kindle Books
Save up to 85% on more than 1,000 Kindle Books. These deals are valid until November 30, 2015. Learn more

Product Details

  • Series: Cookbooks (O'Reilly)
  • Paperback: 594 pages
  • Publisher: O'Reilly Media; 1 edition (November 18, 2005)
  • Language: English
  • ISBN-10: 0596007612
  • ISBN-13: 978-0596007614
  • Product Dimensions: 7 x 1.3 x 9.2 inches
  • Shipping Weight: 1.8 pounds (View shipping rates and policies)
  • Average Customer Review: 3.4 out of 5 stars  See all reviews (9 customer reviews)
  • Amazon Best Sellers Rank: #419,180 in Books (See Top 100 in Books)

More About the Authors

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

Customer Reviews

Most Helpful Customer Reviews

42 of 49 people found the following review helpful By Rob Wehrli on December 16, 2005
Format: Paperback
Unlike a self-proclaimed "C++ Wizard," I'm of the opinion that this book is inherently useful in many ways, even for experienced programmers. Basically, it offers several ways to tackle various programming challenges with C++-centric solutions.

Whining about brace style is a hopelessly lost cause. K&R style braces save lines and reduces page count in the publishing industry. Get used to it or get out of it, I say.

However, this isn't a rant.

There is a good portion of the book that would be more helpful to aspiring programmers and less useful to advanced programmers, such as "Making Sure a Header File Gets Include Only Once." In my programming career, I've seen a lot of bad code. If more developing programmers would have read this book, my life would surely have been easier!

Like any cookbook, a recipe is a guideline for producing a desired result. It is up to the chef to decide when to depart from the guideline and by how much. It is oftentimes difficult to find the core solution in a set of API documentation, for example, in string handling. The C++ Cookbook has a whole chapter on string manipulation and text processing. It is much easier to look at the often short and sweet recipes in the book and decide whether or not they are close enough to what you want to do to use them as a baseline for writing your own code, rather than just referring to an API document and trying to figure out which set of operations you want to use to accomplish the task at hand.

I don't think that this book is some kind of answer to all of our C++-related prayers; what cookbook have you used that can be so much to so many? In all, it is a worthwhile product for those seeking assistance with their everyday coding. It does tend to promote Boost.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
16 of 19 people found the following review helpful By Dan McKinnon VINE VOICE on September 8, 2006
Format: Paperback
The 'C++ Cookbook' is a great resource for any developer that might be new to or still mastering the C++ programming language. Packed with over 500 pages and broken up into 15 chapters, this book is well written and easy to follow. My main "gripe" with this book is that when I think of a cookbook, many times it's full of solutions are less well known, or slightly more challenging tasks that the average programmer might not know the solution to. With this cookbook, I feel it's geared more towards the more junior level developer who isn't a master of the language and is still learning their trade. I don't feel that this book is perfect for senior programmers, but it DOES offer common solutions in one book, so I might be incorrect in this assumption. All in all, a solid book, and one well worth keeping on your desk and you code with C++!!

Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
7 of 7 people found the following review helpful By Duke on February 25, 2009
Format: Paperback
Im a freshman in college and just finished my second c++ programming course, this book was my best friend. It gives you plenty of ways to do a given task and covers a broad range of topics. Because it covers a broad range of topics, even if a specific "recipe" doesn't do exactly what you want, there is usually no trouble in changing/tweaking it ever so slightly to do what you want to do for a specific problem. It's very well written and easy to understand for the laymen to c++ (like me!!)
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
2 of 2 people found the following review helpful By Flekstpor Drufan on October 25, 2012
Format: Paperback Verified Purchase
"C++ Cookbook" provides a range of "recipes" for common tasks, that should be useful not only for those new to C++, but also as a time saver for more advanced practitioners. The commentary accompanying each recipe is clear and informative, explaining the reasoning behind the suggested way of doing things, and suggesting alternatives where relevant. A point in the book's favour is that it doesn't confine itself to the standard library, but also recommends features from Boost, where a task can be more easily accomplished using Boost than using the standard library. I would recommend this book as a handy addition to any C++ programmer's library. I found the section on internationalization to be particularly helpful.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
14 of 21 people found the following review helpful By Jack D. Herrington on December 11, 2005
Format: Paperback
This cookbook is a little shorter than those with the other languages, but while that may seem odd, it might not after you find that it doesn't cover operating system specific patterns. The recipes center around the basics, file I/O, strings, containers. Only at the end does it get into higher level topics like multithreading and XML.

These may sound like gripes. They aren't. This is a good book. The writing is good. The code is solid. You will find these recipes handy.

That being said, I would have liked more material on regular expressions and memory management with Boost.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Set up an Amazon Giveaway

Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
C++ Cookbook (Cookbooks (O'Reilly))
This item: C++ Cookbook (Cookbooks (O'Reilly))
Price: $32.48
Ships from and sold by

Want to discover more products? Check out this page to see more: software engineering