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.
To get the free app, enter your email address or mobile phone number.
C++ Cookbook (Cookbooks (O'Reilly)) Paperback – November 15, 2005
|New from||Used from|
Top 20 lists in Books
View the top 20 best sellers of all time, the most reviewed books of all time and some of our editors' favorite picks. Learn more
Frequently Bought Together
Customers Who Bought This Item Also Bought
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.
More About the AuthorsDiscover books, learn about writers, read author blogs, and more.
Top Customer Reviews
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 ›
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.
Most Recent Customer Reviews
It's a good C++ reference that details many common problems and solutions. Good read.Published 20 days ago by Ron Shuler
I will start by saying that I am by no means an experienced programmer. In just starting out, I wanted a book that would show me some sample programs that I could use to "learn by... Read morePublished on October 22, 2012 by H. Cotten
I bought this book because I wanted the equivalent of the "Python Cookbook" but for C++. However, I didn't find that level of information on the C++ version of the cookbook. Read morePublished on June 18, 2008 by Marc Magrans De Abril
A good book in a nice and handable format to take a look at the most importance topics in the c++ programmingPublished on January 6, 2008 by Eduardo Rodriguez