6. Library Overview

Why waste time learningwhen ignorance is instantaneous?

– Hobbes

Introduction

Standard-Library Components

Standard-Library Headers and Namespace

Advice

6.1. Introduction

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.

Continuing from Chapters 1-5, Chapters 6-13 give a quick tour of key standard-library facilities. I very briefly present useful standard-library types, such as string, ostream, vector, map,

unique_ptr, thread, regex, and complex, as well as the most common ways ...

Get A Tour of C++ now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.