Programming Books C Java PHP Python Learn more Browse Programming Books
The C++ Standard Library: A Tutorial and Reference and over one million other books are available for Amazon Kindle. Learn more

Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 


or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $29.25 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Start reading The C++ Standard Library on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

The C++ Standard Library: A Tutorial and Reference (2nd Edition) [Hardcover]

by Nicolai M. Josuttis
4.6 out of 5 stars  See all reviews (45 customer reviews)

Buy New
$48.90 & FREE Shipping. Details
Rent
$25.00
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
In Stock.
Rented by RentU and Fulfilled by Amazon.
Want it tomorrow, April 25? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $34.49  
Hardcover $48.90  
Shop the New Digital Design Bookstore
Check out the Digital Design Bookstore, a new hub for photographers, art directors, illustrators, web developers, and other creative individuals to find highly rated and highly relevant career resources. Shop books on web development and graphic design, or check out blog posts by authors and thought-leaders in the design industry. Shop now

Book Description

April 9, 2012 0321623215 978-0321623218 2
The Best-Selling C++ Resource

Now Updated for C++11

 

The C++ standard library provides a set of common classes and interfaces that greatly extend the core C++ language. The library, however, is not self-explanatory. To make full use of its components–and to benefit from their power–you need a resource that does far more than list the classes and their functions.

 

The C++ Standard Library: A Tutorial and Reference, Second Edition, describes this library as now incorporated into the new ANSI/ISO C++ language standard (C++11). The book provides comprehensive documentation of each library component, including an introduction to its purpose and design; clearly written explanations of complex concepts; the practical programming details needed for effective use; traps and pitfalls; the exact signature and definition of the most important classes and functions; and numerous examples of working code. The book focuses in particular on the Standard Template Library (STL), examining containers, iterators, function objects, and STL algorithms.

 

The book covers all the new C++11 library components, including

 

  • Concurrency
  • Fractional arithmetic
  • Clocks and timers
  • Tuples
  • New STL containers
  • New STL algorithms
  • New smart pointers
  • New locale facets
  • Random numbers and distributions
  • Type traits and utilities
  • Regular expressions

 

The book also examines the new C++ programming style and its effect on the standard library, including lambdas, range-based for  loops, move semantics, and variadic templates.

 

An accompanying Web site, including source code, can be found at www.cppstdlib.com.

 


Frequently Bought Together

The C++ Standard Library: A Tutorial and Reference (2nd Edition) + The C++ Programming Language, 4th Edition + C++ Primer (5th Edition)
Price for all three: $136.98

Buy the selected items together


Editorial Reviews

About the Author

Nicolai M. Josuttis is an independent technical consultant who designs mid-sized and large software systems for the telecommunication, traffic, finance, and manufacturing industries. A former member of the C++ Standard Committee library working group, he is well known in the programming community for his authoritative books. In addition to The C++ Standard Library, a worldwide best-seller since its first publication in 1999, his books include C++ Templates: The Complete Guide (with David Vandevoorde, Addison-Wesley, 2003) and SOA in Practice: The Art of Distributed System Design (O’Reilly Media, 2007).

 


Product Details

  • Hardcover: 1128 pages
  • Publisher: Addison-Wesley Professional; 2 edition (April 9, 2012)
  • Language: English
  • ISBN-10: 0321623215
  • ISBN-13: 978-0321623218
  • Product Dimensions: 9.4 x 7.2 x 1.7 inches
  • Shipping Weight: 3.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (45 customer reviews)
  • Amazon Best Sellers Rank: #13,070 in Books (See Top 100 in Books)

More About the Author

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

Customer Reviews

Most Helpful Customer Reviews
46 of 47 people found the following review helpful
3.0 out of 5 stars E-Book version suffers from poor code/table formatting November 26, 2012
Format:Kindle Edition|Verified Purchase
The print version of this book would receive the full 5-stars from me, but the e-book version delivered to my Kindle had poorly formatted code and the tables were practically unreadable.

The issue with the code is that the font used was not consistently mono-spaced and there were plethora of syntactically incorrect line-breaks. I had to lower my font size to the lowest possible setting and orient the layout horizontally to make the code less chore-some. The code images themselves were so small (although properly formatted A-style code) that I had to strain my eyes. There was no happy medium here: either deal with impractical formatting or ruin your eyesight on the code images. The tables and inline graphics were abysmally small graphics, much like the code pictures.

If I had to purchase this book again I would definitely have shelled out the extra money for the print version. I am satisfied with the content but not the formatting of the e-book version, and will be looking forward to an update to the e-book version.
Was this review helpful to you?
12 of 13 people found the following review helpful
Format:Hardcover|Verified Purchase
In a field where there are few accessible resources, Josuttis' book is a well-constructed volume. Although this second edition has lost some of the personal flair of the first, and he transparently borrows material from others making it less coherent, the book continues to be a must-have. The index is excellent. For this, I would give the book four stars.

Nevertheless, Addison-Wesley needs to issue a new, corrected printing. The list of errata is extensive (see the book's website), and some of the errors make the book's text confusing, misleading, or outright incorrect. I received a printing after the first, and the errors remain. Seems that AW was pushing for a release before the text was quite ready. This costs the book a star.
Was this review helpful to you?
22 of 27 people found the following review helpful
5.0 out of 5 stars The definitive standard, revised for C++11 April 26, 2012
By willfe
Format:Hardcover
The original text was a definitive standard in its own right, providing an elegant and useful reference for the C++ standard library along with helpful introductory and tutorial material. This revised edition improves on the original, adding material for all of the new features introduced in the newly-ratified and published C++11 language standard in both the tutorial and reference sections of the book. The new features are given their own separate coverage in the brief but informative third chapter, but are incorporated into the reference as well.

As to be expected, the typesetting and layout of the book is fantastic, the content is well organized and easy to find. The index, weighing in at nearly 75 pages just by itself, is comprehensive. A bibliography provides dozens of additional references for the thirsty-minded programmer who can't get enough of the C++ language.

I rarely buy hardcover books because of their price, but this book is most certainly a worthy exception to that rule. It will serve any C++ developer well and deserves to be on every programmer's bookshelf.
Comment | 
Was this review helpful to you?
13 of 15 people found the following review helpful
4.0 out of 5 stars A Fine Installment May 29, 2012
Format:Hardcover|Verified Purchase
I bought this book because the first edition set the standard. Just like the first edition it is a valuable reference and contains hundreds of pages of new content. I feel that the extra/supplemental (downloaded) pdf chapters really belong in the book. There are also a few typos so be sure to read the errata. Otherwise it is a fine installment.
Comment | 
Was this review helpful to you?
4 of 4 people found the following review helpful
Format:Hardcover|Verified Purchase
This book is more a reference than a tutorial. Years ago I bought this book to learn templates and the STL, but the book wasn't very useful to me because I didn't already understand how to use them. Now it's one of my two most essential programming books, the other being Stroustrup's The C++ Programming Language, also in a new edition.

I'm keeping the old edition of this book because it describes the "bitset", while the newer version of this book leaves that to an electronic supplement. The proper course of action would have been to print the book on thinner paper so that the extra content could have been included, or separate the book into two volumes, but I guess cost savings was more important.
Comment | 
Was this review helpful to you?
4 of 4 people found the following review helpful
5.0 out of 5 stars Must Have October 26, 2012
Format:Hardcover
If you need a clear, well written, complete and thorough book about C++11 and STL this is the RIGHT choice.
This amazing book covers most c++11 new topics:
Concurrency
Fractional arithmetic
Clocks and Timers
Random numbers and distributions
New smart pointers
Regular expressions
New STL containers, such as arrays, forward lists, and unordered containers
New STL algorithms
Tuples
Type traits and type utilities

Can be used as a reference but my advice is read it from cover to back at least once.
One of the few book you can't be without.
Comment | 
Was this review helpful to you?
7 of 9 people found the following review helpful
5.0 out of 5 stars Justifiably Josuttis June 13, 2012
Format:Hardcover
This text is a remake of the author's book on the C++ Standard Template Library (STL). I personally believe that this book is critical for any C or C++ programmer to get good information regarding the changes to C & C++ in the new Version 11 of the standard. Not only has the STL been updated, but the language proper has had many changes/additions. I think that the book is well worth the price.
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars Must-have for any C++ developer May 3, 2013
Format:Hardcover|Verified Purchase
Pros
- Nice (but not too long) introduction of the new standard on the first pages of the book.
- Lots of subjects: Pairs and Tuples, Smart Pointers, Type Traits, Clocks (chrono), STL Containers, New STL Containers, Iterators, Lambdas in STL, Algorithms, Strings, RegExp, IO Operations, Internationalization, Numerics, Concurrency (async, thread, mutex...).
- Straightforward introduction to the particular feature in the beginning of a chapter and advanced, in depth view, at the end.
- I was afraid that this book would contain only tables with STL classes/methods. But it is not.
- Over 1000 pages! So it is quite hard to read it quick. In such books this is an advantage and means that the author did a great job.

Cons
- eBook version might have some problems with formatting.
- Quite heavy... :) but you can always buy eBook version (if you accept the formatting... :))
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
4.0 out of 5 stars With this book you will be half way there.
Shows you how to use the new changes to C++ 11. After you have this the only thing you will need is a reference guide.
Published 27 days ago by WARWICK H. LAKE
5.0 out of 5 stars Great book
If you want to have solid knowledge of C++ Standard Library, then you definitely must read this book. Personally I like it very much.
Published 2 months ago by Ioram Gordadze
5.0 out of 5 stars Third printing corrects errata
I received a copy, which is the third printing. It appears that this printing corrects the errata found in the first two printings. Read more
Published 4 months ago by Dick F
5.0 out of 5 stars Better than any I know of.
Can you sell me the price to read it from cover to cover? I have many C++ books, no one is better that this one. Read more
Published 6 months ago by Nieuwenhuizen, J.K.
5.0 out of 5 stars A must-have book.
I bought the first edition of this book back in 1999, or so. I have used the book heavily. I just had to buy this one, because I know the author does a great job with describing... Read more
Published 6 months ago by Michael Dean
5.0 out of 5 stars A valuable resource for C++ professionals
This is not only an excellent resource for learning and applying the C++ STL but also a good book for learning more advanced C++ subjects such as new C++11 features, regular... Read more
Published 7 months ago by A Customer
5.0 out of 5 stars Excelence reference to the C++11 standard library
This is precisely a reference manual. You don'y really need to read a whole bunch of chapters to get a good grasp of what you need, just go to the index and jump to the page you... Read more
Published 8 months ago by adriano
5.0 out of 5 stars Great Reference
I just wish I was further along with this language to utilize this because it seems like it's going to fit the bill for just what it is as a desk reference.
Published 9 months ago by Landon D.
5.0 out of 5 stars Awesome!
This book is the the best C++11 Standard Library reference!
Very detailed examples that explain the powerr of C++ 11.
Published 10 months ago by Christopher D. Jones
5.0 out of 5 stars Indispensable yet again
As with the previous edition of this book, I keep a copy handy for reference at all times. The book has improved with the second edition, much like C++ has with C++11. Read more
Published 10 months ago by John A. Cummings
Search Customer Reviews
Only search this product's reviews
ARRAY(0xa4db2540)

What Other Items Do Customers Buy After Viewing This Item?


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



Look for Similar Items by Category