Buy this Book
Print Book $44.95
Add to Cart
PDF $30.99
PDF Chapter $3.99
Select Chapter
Read it Now!
Print Book £31.95
Add to UK Cart
Reprint Licensing
C++ Cookbook

By Ryan Stephens, Christopher Diggins, Jonathan Turkanis, Jeff Cogswell
First Edition November 2005 
Pages: 592 (More details)
starstarstarstarstar (Average of 2 Customer Reviews)

Buy 2 Get 1 Free Free ShippingGuarantee

Book description

Less a tutorial than a problem-solver, this practical guide shows you how to solve many of the real-world problems that C++ developers encounter, including how to parse a date and time string and how to create a singleton class. It's a trusted source of information for engineers, programmers, and researchers alike. Presented in O'Reilly's classic question-solution-discussion format.
Full Description

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.

Post-purchase benefits:

Register your book | View/Submit Errata | View/Submit Review | Examples



Browse within this book

Cover | Table of Contents


No time right now?   Email This Page Email these links Customers who bought this book also bought:
No time right now?   Email This Page Email these links Customers interested in this book may also be interested in:

Book details

Title: C++ Cookbook
First Edition: November 2005
Series: Cookbooks
ISBN 10: 0-596-00761-2
ISBN 13: 9780596007614
Pages: 592
Average Customer Reviews: starstarstarstarstar (Based on 2 Reviews)


Featured customer reviews

Write a Review


Fine Book, but Poorly Copy-Edited,  November 15 2006
Rating: StarStarStarStarStar
Submitted by Todd C. S.   [Respond | View]

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.


One of the best, most practical and useful C++ books ever.,  April 15 2006
Rating: StarStarStarStarStar
Submitted by Clau3107   [Respond | View]

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.

Read all reviews


Media reviews

"C++ Cookbook will be very helpful to programmers who don't want to spend time solving every little problem themselves. It may not be the best text for a veteran with ingrained Computer Sciences education, but for self-taught, non-CS disciplinarians, it may well be the ticket to writing much better code in less time. For someone making a transition from C to C++, it is an indispensable 'how to' reference that you can easily read when the mood strikes."
--Rob Wehrli, Amazon.com review, January 2006

Read all reviews


See larger cover
Browse within this book