- Hardcover: 1128 pages
- Publisher: Addison-Wesley Professional; 2 edition (April 9, 2012)
- Language: English
- ISBN-10: 0321623215
- ISBN-13: 978-0321623218
- Product Dimensions: 7.7 x 1.7 x 9.2 inches
- Shipping Weight: 3.7 pounds (View shipping rates and policies)
- Average Customer Review: 197 customer reviews
- Amazon Best Sellers Rank: #54,373 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
The C++ Standard Library: A Tutorial and Reference (2nd Edition) 2nd Edition
Use the Amazon App to scan ISBNs and compare prices.
Frequently bought together
Customers who bought this item also bought
Customers who viewed this item also viewed
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).
Author interviews, book reviews, editors picks, and more. Read it now
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
Josuttis has cleared up all my questions and misunderstandings about Standard C++. Within the book are short sample programs illustrating how to use library components as well as clear, descriptive text on the objects in the Standard Library. Features are intelligently divided into chapters, which has, more than once, resulted in me finding a very novel way to solve a problem I only had a rough idea on how to solve.
Since buying this book, Stroustrup has sat idle on my bookshelf, and Lippman - well, Lippman's at work. Josuttis has made the C++ Standard Library much more accessible, making my transition from forgotten pre-standard C++ to Standard C++ much less painful than I expected.
Read Ch 2, scan Ch 3. Ch 4 can wait, page through, don't read Ch 5. Read Ch 6 and just note how iterators can be used in Ch 7. And you are done. This can be done in under 3 hours. Then use the rest of the book just as a reference as needed and you will be an STL user eventual expert.
After using STL, you will never go back -- it transforms C++ into a useful language rather than a memory management sink hole. Oh, then you will want to go on to the new proposed, but not yet accepted (as of March 2007) standard library extensions. For that, see "The C++ Standard Library Extensions" by Pete Becker The C++ Standard Library Extensions: A Tutorial and Reference
What do the extensions (sometimes known as "Boost" library) add that's missing in STL? Well, Hash functions (how could these have been left out?), tuples rather than just pairs. Pairs in STL allow you to treat items as a unit -- very useful for database and pattern recognition/association for example. Tuples extend this to lists of items. Pointers with reference counting -- Speed up your code by easily avoiding needless copying and have the memory auto delete when all references to it go away. Doesn't solve the problem of "fatal embraces" where references point to each other, but it helps a lot.
What's still missing? By now, decision trees are just so mature and useful that they ought to be built in along with statistical boosting, k-means and agglomerative clustering, K-D trees for nearest neighbor association. That is IMHO, data ought not only allow methods to be attached, but clustering and basic machine learning/prediction should just be built in and standard by now. The above routines are mature and a basis of much more advanced routines.
The only addition that I'll make to the information found in the rest of the comments published about this book is that the tables, diagrams and the code samples display very clearly with the digital kindle edition, when played with the Kindle for PC application.
With a book with as many pages as this one, it is nice to be able to read it on the PC.
I was skeptical when I read the other reviews, but I am extremely impressed with this book. I have not had the chance to sit down and read the book cover to cover yet. However, I have cracked it open a few times when I've gotten stuck, and have been amazed that I have been able to quickly and effortlessly find clear, concise, and thorough answers to every STL question that I've had.
The book is extremely well written: it's well structured, well indexed, and easy to digest. Extremely cost effective.
On a side note, I'm finding it to be an excellent supplement to my data structures & algorithm course's text: the STL is full of innovative, refined, tried and true approaches, whereas the course text presents things coarsely via mechanisms that the author implemented on his own for the sake of his book.