cppreference.com
cppreference.comSearch Log in / create accountNamespacesPageDiscussion VariantsViewsViewView sourceHistory Actions C and C++ reference From cppreference.com All material available here has been machine-translated into Chinese, French, German, Italian, Japanese, Spanish, Portuguese and Russian using Google Translate. You can help verify and correct the translations. For instructions click here.C++ reference C++98, C++03, C++11 Language Preprocessor Keywords Operator precedence Escape sequences ASCII chart Fundamental types Headers Concepts Utilities library Type support Dynamic memory management Error handling Program utilities Date and time bitset Function objects pair − tuple (C++11) Strings librarybasic_string Null-terminated byte strings Null-terminated multibyte strings Null-terminated wide strings Containers libraryarray (C++11) − vector − deque list − forward_list (C++11) set − multiset map − multimap unordered_set (C++11) unordered_multiset (C++11) unordered_map (C++11) unordered_multimap (C++11) stack − queue − priority_queue Algorithms library Iterators library Numerics library Common mathematical functions Complex numbers Pseudo-random number generation Input/output librarybasic_streambuf basic_filebuf basic_stringbuf ios_base basic_ios basic_istream basic_ostream basic_iostream basic_ifstream basic_ofstream basic_fstream basic_istringstream basic_ostringstream basic_stringstream I/O manipulators C-style I/O Localizations library Regular expressions library (C++11) Atomic operations library (C++11) Thread support library (C++11)Links − Libraries C reference C89, C99, C11 Language Preprocessor Keywords Operator precedence Escape sequences ASCII chart Headers Type support Dynamic memory management Error handling Program utilities Date and time utilities Strings library NULL-terminated byte strings NULL-terminated multibyte strings NULL-terminated wide strings Algorithms Numerics Mathematical functions Floating-point environment (C99) Random number generation Complex number arithmetic (C99) Type-generic math (C99) Input/output support Localization support Atomic operations library (C11) Thread support library (C11)
C++ reference C++98, C++03, C++11
Language
Preprocessor Keywords Operator precedence Escape sequences ASCII chart Fundamental types
Headers
Concepts
Utilities library
Type support Dynamic memory management Error handling Program utilities Date and time bitset Function objects pair − tuple (C++11)
Strings library
basic_string Null-terminated byte strings Null-terminated multibyte strings Null-terminated wide strings
Containers library
array (C++11) − vector − deque list − forward_list (C++11) set − multiset map − multimap unordered_set (C++11) unordered_multiset (C++11) unordered_map (C++11) unordered_multimap (C++11) stack − queue − priority_queue
Algorithms library
Iterators library
Numerics library
Common mathematical functions Complex numbers Pseudo-random number generation
Input/output library
basic_streambuf basic_filebuf basic_stringbuf ios_base basic_ios basic_istream basic_ostream basic_iostream basic_ifstream basic_ofstream basic_fstream basic_istringstream basic_ostringstream basic_stringstream I/O manipulators C-style I/O
Localizations library
Regular expressions library (C++11)
Atomic operations library (C++11)
Thread support library (C++11)
C reference C89, C99, C11
Preprocessor Keywords Operator precedence Escape sequences ASCII chart
Type support
Dynamic memory management
Error handling
Program utilities
Date and time utilities
NULL-terminated byte strings NULL-terminated multibyte strings NULL-terminated wide strings
Algorithms
Numerics
Mathematical functions Floating-point environment (C99) Random number generation Complex number arithmetic (C99) Type-generic math (C99)
Input/output support
Localization support
Atomic operations library (C11)
Thread support library (C11)