O'Reilly logo

The C++ Programming Language, Fourth Edition by Bjarne Stroustrup

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4. A Tour of C++: Containers and Algorithms

Why waste time learning when ignorance is instantaneous?

– Hobbes

Libraries

Standard-Library Overview; The Standard-Library Headers and Namespace

Strings

Stream I/O

Output; Input; I/O of User-Defined Types

Containers

vector; list; map; unordered_map; Container Overview

Algorithms

Use of Iterators; Iterator Types; Stream Iterators; Predicates; Algorithm Overview; Container Algorithms

Advice

4.1. Libraries

No significant program is written in just a bare programming language. First, a set of libraries is developed. These then form the basis for further work. Most programs are tedious to write in the bare language, whereas just about any task can be rendered simple by the use of good libraries. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required