C++ Cookbook
Solutions and Examples for C++ Programmers
Publisher: O'Reilly Media
Final Release Date: November 2005
Pages: 594

Despite its highly adaptable and flexible nature, C++ is also one of the more complex programming languages to learn. Once mastered, however, it can help you organize and process information with amazing efficiency and quickness.

The C++ Cookbook will make your path to mastery much shorter. This practical, problem-solving guide is ideal if you're an engineer, programmer, or researcher writing an application for one of the legions of platforms on which C++ runs. The algorithms provided in C++ Cookbook will jump-start your development by giving you some basic building blocks that you don't have to develop on your own.

Less a tutorial than a problem-solver, the book addresses many of the most common problems you're likely encounter--whether you've been programming in C++ for years or you're relatively new to the language. Here are just some of the time-consuming tasks this book contains practical solutions for:

  • Reading the contents of a directory
  • Creating a singleton class
  • Date and time parsing/arithmetic
  • String and text manipulation
  • Working with files
  • Parsing XML
  • Using the standard containers

Typical of O'Reilly's "Cookbook" series, C++ Cookbook is written in a straightforward format, featuring recipes that contain problem statements and code solutions, and apply not to hypothetical situations, but those that you're likely to encounter. A detailed explanation then follows each recipe in order to show you how and why the solution works. This question-solution-discussion format is a proven teaching method, as any fan of the "Cookbook" series can attest to. This book will move quickly to the top of your list of essential C++ references.

Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews


by PowerReviews
oreillyC++ Cookbook

(based on 3 reviews)

Ratings Distribution

  • 5 Stars



  • 4 Stars



  • 3 Stars



  • 2 Stars



  • 1 Stars



Reviewed by 3 customers

Sort by

Displaying reviews 1-3

Back to top

(3 of 4 customers found this review helpful)


C++ Cookbook, the best C++ guide ,

By Michal Jagiela

from Undisclosed

Comments about oreilly C++ Cookbook:

When I get a C++ Cookbook to my hand I think what I find in this book? I learn C++ from a much books, and everything it's very boring and hardly to learn. My first travel to C++ world with this book is very, very good and I love this book. C++ Cookbook is very friendly and easy to learn, full guide for all people who's interesting get a professional information about programming in this language.

Four authors in good, practice chapters summary all main and additional programming techniques for C++. All topics illustrated with useful examples from real world.

C++ Cookbook have very useful format, all chapters presented problem, detail describe solution and discuss about potential problem and possibilities to quick resolve all hardly point in C++ programming. I think this is the best method to learn for all people, from hobbyst who's interesting to discover features in C++ and easy learn to professional who's interesting find all required information for realize real-world problem at the C++ solutions.

Additional C++ Cookbooks is good pocket reference all features and functions C++ language. You can easily find short information about every features in general C++ language and additional standard libraries. Absolutly great and useful for all people!

With this book You can quickly learn C++ and going from novice to professional C++ developer.

With this book You can to the TechED events and become a C++ speaker , seriously!

(4 of 8 customers found this review helpful)


Fine Book, but Poorly Copy-Edited

By Todd C. S.

from Undisclosed

Comments about oreilly C++ Cookbook:

The C++ Cookbook is a fine title, but the copy editing is pretty atrocious. Probably the most egregious example is the entire section on "Matricies" [sic]. That spelling appears over and over again-- in the table of contents, as the section header, in the body text of that section, and in the index. O'reilly is known for the quality of its work, but this is an unfortunate counter-example.

(2 of 2 customers found this review helpful)


One of the best, most practical and useful C++ books ever.

By Clau3107

from Undisclosed

Comments about oreilly C++ Cookbook:

I've found this book unique; it tells you how to do many things and solve many problems in C++ easily. This book it's an absolute must-have book, even for experienced C++ developers.

Displaying reviews 1-3

Back to top

Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?
Ebook: $39.99
Formats:  DAISY, ePub, Mobi, PDF
Print & Ebook: $54.99
Print: $49.99