
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 files that shall be included in the code in order to have access to its components:
Input/Output Stream LibraryProvides 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:
For more info see the reference page for the C++ Input/Output Library.
C LibraryThe 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.They are divided in several files. Our reference at this moment covers the following header files of the C library:
cassert
C Diagnostics Library (header)
cctype
Character handling functions (header)
cerrno
C Errors (header)
cfloat
Characteristics of floating-point types (header)
climits
Sizes of integral types (header)
clocale
C localization library (header)
cmath
C numerics library (header)
csetjmp
Non local jumps (header)
csignal
C library to handle signals (header)
cstdarg
Variable arguments handling (header)
cstddef
C Standard definitions (header)
cstdio
C library to perform Input/Output operations (header)
cstdlib
C Standard General Utilities Library (header)
cstring
C Strings (header)
ctime
C Time Library (header)
Strings LibraryC++ provides a specific class to manipulate strings of characters:
string
String class (class)
Standard Template Library (STL)The standard template library defines the following container types:
vector
Vector (class template)
deque
Double ended queue (class template)
list
List (class template)
stack
LIFO stack (class template)
queue
FIFO queue (class template)
priority_queue
Priority queue (class template)
set
Set (class template)
multiset
Multiple-key set (class template)
map
Map (class template)
multimap
Multiple-key map (class template)
bitset
Bitset (class template)
It also provides several algorithms to operate on ranges:
algorithm
Standard Template Library: Algorithms (library)
The declarations of the different elements provided by the library are split in several files that shall be included in the code in order to have access to its components:
Input/Output Stream LibraryProvides 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:
For more info see the reference page for the C++ Input/Output Library.
C LibraryThe 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.They are divided in several files. Our reference at this moment covers the following header files of the C library:
cassert
C Diagnostics Library (header)
cctype
Character handling functions (header)
cerrno
C Errors (header)
cfloat
Characteristics of floating-point types (header)
climits
Sizes of integral types (header)
clocale
C localization library (header)
cmath
C numerics library (header)
csetjmp
Non local jumps (header)
csignal
C library to handle signals (header)
cstdarg
Variable arguments handling (header)
cstddef
C Standard definitions (header)
cstdio
C library to perform Input/Output operations (header)
cstdlib
C Standard General Utilities Library (header)
cstring
C Strings (header)
ctime
C Time Library (header)
Strings LibraryC++ provides a specific class to manipulate strings of characters:
string
String class (class)
Standard Template Library (STL)The standard template library defines the following container types:
vector
Vector (class template)
deque
Double ended queue (class template)
list
List (class template)
stack
LIFO stack (class template)
queue
FIFO queue (class template)
priority_queue
Priority queue (class template)
set
Set (class template)
multiset
Multiple-key set (class template)
map
Map (class template)
multimap
Multiple-key map (class template)
bitset
Bitset (class template)
It also provides several algorithms to operate on ranges:
algorithm
Standard Template Library: Algorithms (library)
No comments:
Post a Comment