Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
Miscellaneous


Reference

Reference of the C++ Language Library, with detailed descriptions of its elements and examples on how to use its functions

The standard C++ library is a collection of functions, constants, classes, objects and templates that extends the C++ language providing basic functionality to perform several tasks, like classes to interact with the operating system, data containers, manipulators to operate with them and algorithms commonly needed.

The declarations of the different elements provided by the library are split in several headers that shall be included in the code in order to have access to its components:

algorithmcomplexexceptionliststack
bitsetcsetjmpfstreamlocalestdexcept
cassertcsignalfunctionalmapstrstream
cctypecstdargiomanipmemorystreambuf
cerrnocstddefiosnewstring
cfloatcstdioiosfwdnumerictypeinfo
ciso646cstdlibiostreamostreamutility
climitscstringistreamqueuevalarray
clocalectimeiteratorsetvector
cmathdequelimitssstream

It can be divided into:

C Library

The elements of the C language library are also included as a subset of the C++ Standard library. These cover many aspects, from general utility functions and macros to input/output functions and dynamic memory management functions:

C++ Standard Library: Miscellaneous libraries

Language support library:

Diagnostics library:

General utilities library:

Strings library:

Localization library:

C++ Standard Library: Standard Template Library (STL)

Containers library:

Iterators library:

Algorithms library:

Numeric library:

C++ Standard Library: Input/Output Stream Library

Provides functionality to use an abstraction called streams specially designed to perform input and output operations on sequences of character, like files or strings.
This functionality is provided through several related classes, as shown in the following relationship map, with the corresponding header file names on top:


click on an element for detailed information

For more info see the reference page for the C++ Input/Output Library.