The C++ Standard Library A Tutorial and Reference 2nd Edition
Book Details :
Size13.8 MB

The C++ Standard Library A Tutorial and Reference 2nd Edition

The C++ Standard Library A Tutorial and Reference 2nd Edition by Nicolai M. Josuttis | PDF Free Download.

C++ Standard Library Contents

  • About This Book
  • Introduction to C++ and the Standard Library
  • New Language Features
  • General Concepts Utilities
  • The Standard Template Library
  • STL Containers
  • STL Container Members in Detail 
  • STL Iterators
  • STL Function Objects and Using Lambdas
  • STL Algorithms
  • Special Containers
  • Strings
  • Regular Expressions
  • Input/Output Using Stream Classes
  • Internationalization
  • Numerics
  • Concurrency
  • Allocators

Preface to The C++ Standard Library A Tutorial and Reference

I never thought that the first edition of this book would sell so long. But now, after twelve years, it’s time for a new edition that covers C++11, the new C++ standard. Note that this means more than simply adding new libraries.

C++ has changed. Almost all typical applications of parts of the library look a bit different now. This is not the result of a huge language change. It’s the result of many minor changes, such as using rvalue references and move semantics, range-based for loops, auto, and new template features.

Thus, besides presenting new libraries and supplementary features of existing libraries, almost all of the examples in this book were rewritten at least partially.

Nevertheless, to support programmers who still use “old” C++ environments, this book will describe differences between C++ versions whenever they appear.

I learned C++11 the hard way. Because I didn’t follow the standardization as it was happening I started to look at C++11 about two years ago. I really had trouble understanding it.

But the people on the standardization committee helped me to describe and present the new features as they are intended to be used now.

Note, finally, that this book now has a problem: Although the book’s size grew from about 800 to more than 1,100 pages, I still can’t present the C++ standard library as a whole.

The library part of the new C++11 standard alone now has about 750 pages, written in very condensed form without much explanation.

For this reason, I had to decide which features to describe and in how much detail. Again, many people in the C++ community helped me to make this decision. The intent was to concentrate on what the average application programmer needs.

For some missing parts, I provide a supplementary chapter on the Web site of this book,, but you still will find details not mentioned here in the standard. The art of teaching is not the art of presenting everything.

It’s the art of separating the wheat from the chaff so that you get the most out of it. May the exercise succeed.

Preface to The C++ Standard Library 4th Edition

In the beginning, I only planned to write a small German book (400 pages or so) about the C++ standard library. That was in 1993. Now, in 1999 you see the result of a book in English with more than 800 pages of facts, figures, and examples.

My goal is to describe the C++ standard library so that all (or almost all) your programming questions are answered before you think of the question.

Note, however, that this is not a complete description of all aspects of the C++ standard library. Instead, I present the most important topics necessary for learning and programming in C++ by using its standard library.

Each topic is described based on the general concepts; this discussion then leads to the specific details needed to support everyday programming tasks. Specific code examples are provided to help you understand the concepts and the details.

That’s it in a nutshell. I hope you get as much pleasure from reading this book as I did from writing it. Enjoy!

Download The C++ Standard Library A Tutorial and Reference 2nd Edition in PDF Format For Free.