The C++ Standard Library: A Tutorial and Reference

The C++ Standard Library: A Tutorial and Reference
by Nicolai M. Josuttis

The C++ Standard Library: A Tutorial and Reference
List Price: $79.99
Our Price: $23.69
You Save: $56.30 (70%)
Availability: Usually ships in 1-2 business days
Category: Book
See more book details and other editions


(Click here)
Buy this book at online book store in your country
Canada | UK | Germany | France

Book Summary Information

Author: Nicolai M. Josuttis
Edition: Hardcover
Audio: English (Unknown); English (Original Language); English (Published)
Published: 1999-08-22
ISBN: 0201379260
Number of pages: 832
Publisher: Addison-Wesley Professional
Accessories:

Book Reviews of The C++ Standard Library: A Tutorial and Reference

Book Review: Stop searching, this is the one you want
Summary: 5 Stars

Yes it's long, but I have found this book faster to make use of than shorter books on the topic of the Standard Template library (STL). This is the book you want.

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.

Summary of The C++ Standard Library: A Tutorial and Reference

The C++ Standard Library provides a set of common classes and interfaces that greatly extend the core C++ language. Josuttis' book not only provides comprehensive documentation of each library component, it also offers clearly written explanations of complex concepts, describes the practical programming details needed for effective use, and gives example after example of working code. This thoroughly up-to-date book reflects the newest elements of the C++ standard library incorporated into the full ANSI/ISO C++ language standard. In particular, the text focuses on the Standard Template Library (STL), examining containers, iterators, function objects, and STL algorithms.
Programming with the C++ Standard Library can certainly be difficult, but Nicolai Josuttis's The C++ Standard Library provides one of the best available guides to using the built-in features of C++ effectively.

The C++ Standard Library provides plenty of default functionality in the form of the Standard Template Library (STL) for containers (like vectors and linked lists), as well as generic algorithms (which allow you to sort, search, and manipulate elements inside containers). The best thing about The C++ Standard Library is that it gives the reader a concise guide to working with these basic containers (from lists to sets and maps, with everything in between). Each container type is explained along with short code excerpts. Moreover, in a reference section, the author explores the connections between each container type, showing how they share similar methods. (Learn just a few methods and you can pretty much work with them all.)

In addition to STL, this book excels at providing a readable introduction to the generic algorithms (which can be used to sort, search, and otherwise manipulate STL containers). Other books either fold this material in with the explanation of containers or make it seem like an esoteric topic. The fact is, generic algorithms work with all the STL types, and by separating these algorithms out like this the reader can learn the rich array of algorithms available in today's standard C++. While this book concentrates on STL and algorithms, readers will still find great coverage on Standard Library string classes and streams (including a fine section on internationalization and locales).

For the beginning or intermediate C++ programmer, The C++ Standard Library can be a real timesaver. It arranges and explains the complexities of the C++ Standard Library and STL in a manageable format that's great as a reference and as an approach to programming. --Richard Dragan

Topics covered: history of C++ and the Standard Library, template basics, Big-O Notation, the std namespace, standard exceptions, allocators, standard library utilities, pairs and auto_ptr, numeric limits, the Standard Template Library (STL) basics, containers, iterators, algorithms, vectors, lists, deques, strings, sets, multisets, bitsets, maps, multimaps, stacks, queues, iterator adapters, function objects, element requirements, value and reference semantics, complex numbers, valarrays, stream classes, stream manipulators and formatting, file I/O, internationalization, and locales.

C & C++ Windows Programming Books

Book Subjects
Most talked about in C & C++ Windows Programming Books
Turbo C++: An Introduction to Computing, 2 volume set ImageTurbo C++: An Introduction to Computing, 2 volume set
by Joel Adams, Sanford Leestma, Larry Nyhoff
Prentice Hall; Published: 1995-12-13; Textbook Binding; Book
Best price: $106.00
C How to Program (5th Edition) ImageC How to Program (5th Edition)
by Paul J. Deitel
Prentice Hall; Published: 2006-09-04; Paperback; Book
Best price: $48.00
Price in other shops: $123.00
Introduction to C++ ImageIntroduction to C++
by Delores M Etter, Jeanine A Ingber
Prentice Hall; Published: 2006-05-28; Paperback; Book
C++/C# Programmer's Guide for Windows 2000 ImageC++/ C# Programmer's Guide for Windows 2000
by Ronald D. Reeves
Prentice Hall; Published: 2001-08-27; Paperback; Book
Best price: $1.99
Price in other shops: $49.99
Introduction to MFC Programming with Visual C++ ImageIntroduction to MFC Programming with Visual C++
by Richard M. Jones
Prentice Hall; Published: 2000-01-01; Paperback; Book
Best price: $19.99
Price in other shops: $69.99
Virtual Reality Excursions: With Programs in C ImageVirtual Reality Excursions: With Programs in C
by Christopher D. Watkins, Stephen R. Marenka
Morgan Kaufmann Pub; Published: 1994-02; Hardcover; Book
Best price: $38.00
Price in other shops: $39.95
Programming Primer for the Macintosh/Book and Disk ImageProgramming Primer for the Macintosh/ Book and Disk
by John C. May, Judy B. Whittle
Morgan Kaufmann Pub; Published: 1994-10; Paperback; Book
Best price: $119.25
C++ from the Ground Up ImageC++ from the Ground Up
by Herbert Schildt
Mcgraw-Hill Osborne Media; Published: 1998-01-01; Paperback; Book
Best price: $4.99
Price in other shops: $34.99
Absolute C++ (2nd Edition) ImageAbsolute C++ (2nd Edition)
by Walter Savitch
Addison Wesley; Published: 2005-02-21; Paperback; Book
Best price: $28.36
Price in other shops: $107.40
C++ Primer (2nd Edition) ImageC++ Primer (2nd Edition)
by Stanley B. Lippman
Addison-Wesley Pub (Sd); Published: 1991-07-16; Paperback; Book
Best price: $4.60
Price in other shops: $42.95
Similar Books and other products
API Design for C++ ImageAPI Design for C++
by Martin Reddy
Morgan Kaufmann; Published: 2011-02-18; Paperback; Book
Best price: $34.63
Price in other shops: $59.95
More Effective C++: 35 New Ways to Improve Your Programs and Designs ImageMore Effective C++: 35 New Ways to Improve Your Programs and Designs
by Scott Meyers
Addison-Wesley Professional; Published: 1996-01-08; Paperback; Book
Best price: $28.75
Price in other shops: $49.99
C++ Primer (4th Edition) ImageC++ Primer (4th Edition)
by Stanley B. Lippman, Josée Lajoie, Barbara E. Moo
Addison-Wesley Professional; Published: 2005-02-24; Paperback; Book
Best price: $40.42
Price in other shops: $59.99
Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library ImageEffective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library
by Scott Meyers
Addison-Wesley Professional; Published: 2001-06-16; Paperback; Book
Best price: $31.30
Price in other shops: $49.99
C++ Programming Language, The (3rd Edition) ImageC++ Programming Language, The (3rd Edition)
by Bjarne Stroustrup
Addison-Wesley Professional; Published: 1997-06-30; Paperback; Book
Best price: $40.44
Price in other shops: $79.99
The C++ Programming Language: Special Edition ImageThe C++ Programming Language: Special Edition
by Bjarne Stroustrup
Addison-Wesley Professional; Published: 2000-02-11; Hardcover; Book
Best price: $53.99
Price in other shops: $89.99
C++ Primer Plus (6th Edition) (Developer's Library) ImageC++ Primer Plus (6th Edition) (Developer's Library)
by Stephen Prata
Addison-Wesley Professional; Published: 2011-10-28; Paperback; Book
Best price: $34.82
Price in other shops: $59.99
C++ Templates: The Complete Guide ImageC++ Templates: The Complete Guide
by David Vandevoorde, Nicolai M. Josuttis
Addison-Wesley Professional; Published: 2002-11-22; Hardcover; Book
Best price: $39.99
Price in other shops: $79.99
Accelerated C++: Practical Programming by Example ImageAccelerated C++: Practical Programming by Example
by Andrew Koenig, Barbara E. Moo
Addison-Wesley Professional; Published: 2000-08-24; Paperback; Book
Best price: $26.99
Price in other shops: $49.99
Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition) ImageEffective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition)
by Scott Meyers
Addison-Wesley Professional; Published: 2005-05-22; Paperback; Book
Best price: $31.99
Price in other shops: $49.99
Book store. Illustrated catalog of books on different categories