BUY THIS BOOK
Add to Cart

Print Book $44.95


Add to Cart

Print+PDF $58.44

Add to Cart

PDF $35.99

Safari Books Online

What is this?

Add to UK Cart

Print Book £31.95

What is this?

Looking to Reprint or License this content?

C++ Cookbook

By Ryan Stephens, Christopher Diggins, Jonathan Turkanis, Jeff Cogswell
November 2005
Pages: 592
Series: Cookbooks
ISBN 10: 0-596-00761-2 | ISBN 13: 9780596007614
starstarstarstarstar (Average of 3 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 | Submit Errata | Examples


Browse within this book

Cover | Table of Contents | Index | Sample Chapter

Book details

First Edition: November 2005
Series: Cookbooks
ISBN: 0-596-00761-2
Pages: 592
Average Customer Reviews: starstarstarstarstar (Based on 3 Reviews)


Featured customer reviews

Write a Review


C++ Cookbook, the best C++ guide …,  April 27 2008
Rating: StarStarStarStarStar
Submitted by Michal Jagiela   [Respond | View]

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!



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

Hide extended reviews


See larger cover