The C++ Standard Library and over one million other books are available for Amazon Kindle. Learn more



or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $35.52 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.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

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

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

Buy New
$52.02 & FREE Shipping. Details
Rent
$30.76 & this item ships for FREE with Super Saver Shipping. Details
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
In Stock.
Want it tomorrow, May 24? 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 $32.99  
Hardcover $52.02  
Rent Your Textbooks
Save up to 70% when you rent your textbooks on Amazon. Keep your textbook rentals for a semester and rental return shipping is free.

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) + C++ Primer (5th Edition)
Price for both: $95.71

Buy the selected items together
  • C++ Primer (5th Edition) $43.69


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: 7.6 x 1.7 x 9.4 inches
  • Shipping Weight: 3.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (32 customer reviews)
  • Amazon Best Sellers Rank: #10,226 in Books (See Top 100 in Books)

More About the Author

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

Customer Reviews

4.6 out of 5 stars
(32)
4.6 out of 5 stars
What makes this book worthwhile is that there are examples all the way though.. Brian R. Findlay  |  5 reviewers made a similar statement
I'm a big fan of the prior edition and have eagerly awaited this 2nd ed. Colin P. Fraizer  |  1 reviewer made a similar statement
Most Helpful Customer Reviews
25 of 26 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|Amazon 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?
13 of 15 people found the following review helpful
4.0 out of 5 stars A Fine Installment May 29, 2012
Format:Hardcover|Amazon 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?
21 of 26 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?
Most Recent Customer Reviews
5.0 out of 5 stars Definitive
I don't know how to write a review of this. There's no substitute for it. If you want to really understand the latest Standard C++ Library, this is the book. Read more
Published 3 days ago by Cinemaphile
5.0 out of 5 stars Must-have for any C++ developer
Pros
- Nice (but not too long) introduction of the new standard on the first pages of the book. Read more
Published 19 days ago by Bartlomiej F.
3.0 out of 5 stars be carefull
If someone convinces me that making top() and pop() separate functions in a unified implementations of pop() that return by value is exception safe (for std::stack) I will... Read more
Published 29 days ago by Vinicius M. Braganca
5.0 out of 5 stars Absolutely perfect.
Everything you could want out of such a book, laid out neatly in a clear and concise manner. There is nothing else to say, it is perfect. A must-have for any serious developer.
Published 1 month ago by J. Alexander
5.0 out of 5 stars First Thoughts: An Excellent Book That Concisely Describes C++...
As someone who has used the first edition whilst making some software projects work ... when I noticed there was a second edition I thought: does it cover C++ 11. Read more
Published 2 months ago by Andrew Oliver
4.0 out of 5 stars A very good books, but there is much Errata
I have the first printing of this book and it is a very good course on the changes that went into C++11 and its library. Read more
Published 2 months ago by M. Goldshteyn
4.0 out of 5 stars Good Book
Pretty good book. Very detailed, yet a little abstract. This book is catered to beginners but is also good for someone looking for a review.
Published 2 months ago by codeNtheory
5.0 out of 5 stars A good reference on C++11 and STL
The author explain pretty well basic aspects of new C++ standard and new programming style. I think is not so good as a quick reference on functions or C++ itself (I'll find the... Read more
Published 2 months ago by Eugen
5.0 out of 5 stars Must buy it
This book is the best resource for learning C++ standard library(any doubt?). Moreover it is updated with C++11 materials too.
Published 2 months ago by Doug
5.0 out of 5 stars Comprehensive and easy to read ...
... and good examples. Can start almost anywhere in the book and with the excellent back and forward references (section/page number), can read the book in the order that makes... Read more
Published 2 months ago by Never Stop Learning
Search Customer Reviews
Only search this product's reviews

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
 



So You'd Like to...



Look for Similar Items by Category