Macam-macam Header dari C/C++ Standard Library
Concepts Library
Coroutines Library
Utilities Library
| <cstdlib> |
… |
| <csignal> |
… |
| <csetjmp> |
… |
| <cstdarg> |
… |
| <typeinfo> |
… |
<typeindex> C++11 |
… |
<type_traits> C++11 |
… |
| <bitset> |
… |
| <functional> |
… |
| <utility> |
… |
| <ctime> |
… |
<chrono> C++11 |
… |
| <cstddef> |
… |
<initializer_list> C++11 |
… |
<tuples> C++11 |
… |
<any> C++17 |
… |
<optional> C++17 |
… |
<variant> C++17 |
… |
<compare> C++20 |
… |
<version> C++20 |
… |
<source_location> C++20 |
… |
Dynamic Memory management
| <new> |
… |
| <memory> |
… |
<scoped_allocator> C++11 |
… |
<memory_resource> C++17 |
… |
Numeric Limits
| <climits> |
… |
| <cfloat> |
… |
<cstdint> C++11 |
… |
<cinttypes> C++11 |
… |
| <limits> |
… |
Error handling
| <exception> |
… |
| <stdexcept> |
… |
| <cassert> |
… |
<system_error> C++11 |
… |
| <cerrno> |
… |
String Library
| <cctype> |
… |
| <cwctype> |
… |
| <cstring> |
… |
| <cwchar> |
… |
<cuchar> C++11 |
… |
| <string> |
… |
<string_view> C++17 |
… |
<charconv> C++17 |
… |
<format> C++20 |
… |
Containers library
<array> C++11 |
… |
| <vector> |
… |
| <deque> |
… |
| <list> |
… |
<forward_list> C++11 |
… |
| <set> |
… |
| <map> |
… |
<unordered_set> C++11 |
… |
<unordered_map> C++11 |
… |
| <stack> |
… |
| <queue> |
… |
<span> C++11 |
… |
Iterators Library
Ranges Library
Algoritdms Library
| <algorithm> |
… |
<execution> C++17 |
… |
Numeric Library
| <cmath> |
… |
| <complex> |
… |
| <valarray> |
… |
<random> C++11 |
… |
| <numeric> |
… |
<ratio> C++11 |
… |
<cfenv> C++11 |
… |
<bit> C++20 |
… |
<numbers> C++20 |
… |
Localization Library
| <locale> |
… |
| <clocale> |
… |
<codecvt> C++11 |
… |
Input/Output Library
| <iosfwd> |
… |
| <ios> |
… |
| <istream> |
… |
| <ostream> |
… |
| <iostream> |
… |
| <fstream> |
… |
| <sstream> |
… |
<syncstream> C++20 |
… |
| <strstream> |
… |
| <iomanip> |
… |
| <streambuf> |
… |
| <cstdio> |
… |
File System Library
Regular Expressions Library
Atomic Operations Library
Thread Support Library
<thread> C++11 |
… |
<stop_token> C++20 |
… |
<mutex> C++11 |
… |
<shared_mutex> C++14 |
… |
<future> C++11 |
… |
<condition_variable> C++11 |
… |
<semaphore> C++20 |
… |
<latch> C++20 |
… |
<filesystem> C++20 |
… |
C Library
| <cassert> (assert.h) |
C Diagnostics Library (header) |
|
<cctype> (ctype.h)
|
Character handling functions (header) |
| <cerrno> (errno.h) |
C Errors (header) |
| <cfenv> (fenv.h) |
Floating-point environment (header) |
| <cfloat> (float.h) |
Characteristics of floating-point types (header) |
| <cinttypes> (inttypes.h) |
C integer types (header) |
| <ciso646> (iso646.h) |
ISO 646 Alternative operator spellings (header) |
| <climits> (limits.h) |
Sizes of integral types (header) |
| <clocale> (locale.h) |
C localization library (header) |
|
<cmath> (math.h)
|
C numerics library (header) |
| <csetjmp> (setjmp.h) |
Non local jumps (header) |
| <csignal> (signal.h) |
C library to handle signals (header) |
| <cstdarg> (stdarg.h) |
Variable arguments handling (header) |
| <cstdbool> (stdbool.h) |
Boolean type (header) |
| <cstddef> (stddef.h) |
C Standard definitions (header) |
| <cstdint> (stdint.h) |
Integer types (header) |
|
<cstdio> (stdio.h)
|
C library to perform Input/Output operations (header) |
| <cstdlib> (stdlib.h) |
C Standard General Utilities Library (header) |
|
<cstring> (string.h)
|
C Strings (header) |
| <ctgmath> (tgmath.h) |
Type-generic math (header) |
|
<ctime> (time.h)
|
C Time Library (header) |
| <cuchar> (uchar.h) |
Unicode characters (header) |
| <cwchar> (wchar.h) |
Wide characters (header) |
| <cwctype> (wctype.h) |
Wide character type (header) |
Special C Library
Empty C headers
<complex> C++11 sampai C++20 |
… |
<complex.h> C++11 |
… |
<ctgmath> C++11 sampai C++20 |
… |
<tgmath.h> C++11 |
… |
Meaningless C Library
<cisco646> sampai C++20 |
… |
| <iso646.h> |
… |
<cstdalign> C++11 sampai C++20 |
… |
<stdalign.h> C++11 |
… |
<cstdbool.h> C++11 sampai C++20 |
… |
<stdbool.h> C++11 |
… |
C++Referensi V0.01 (20 januari 2018)
C++Referensi V0.02 (15 Maret 2021)