C++ 표준 라이브러리 헤더 파일

C++ 프로그래밍을 공부하다보면 #include 뒤에 붙는 수많은 라이브러리명을 볼 수 있을 것이다.

C++ 표준 라이브러리는 26개의 C 표준 라이브러리를 포함해 무려 총 80개의 헤더 파일로 구성되어 있다.

수많은 라이브러리에 막막함이 느껴질 수도 있긴하지만 원할한 코딩을 위해 각 라이브러리의 기능들을 충분히 숙지해 놓는것이 당연히 좋다.

다음은 마이크로소프트에서 제공하는 C++ 표준 라이브러리 정리표이다.

카테고리헤더
알고리즘<algorithm><cstdlib><numeric>
원자성 작업<atomic>11
C 라이브러리 래퍼<cassert><ccomplex>11 a b<cctype>, , <cerrno><cfenv>11<cfloat><cinttypes>11<ciso646>b<climits><clocale><cmath><csignal><csetjmp><cstdalign>, 11 a b<cstdarg><cstdbool>11 a b<cstddef><cstdint>11<cstdio><cstdlib><ctgmath><cstring>11 a b,<cuchar> 11, 11, <ctime><cwchar><cwctype>
개념<concepts>20
컨테이너
시퀀스 컨테이너<array>11, , <deque><forward_list>11<list>,<vector>
정렬된 결합 컨테이너<map><set>
순서가 지정되지 않은
결합 컨테이너
<unordered_map>11<unordered_set>11
컨테이너 어댑터<queue><stack>
컨테이너 뷰<span>20
오류 및 예외 처리<cassert><exception><stdexcept><system_error>11
일반 유틸리티<any>17<bit>20<bitset>, , <cstdlib><execution>17<functional>, , <memory_resource><memory>17<optional>17<ratio>11<scoped_allocator>11<tuple>11<type_traits>11<typeindex>11, 11<utility><variant>17
I/O 및 서식 지정<cinttypes>11<cstdio><filesystem>17<fstream>, , <iomanip><ios><iosfwd><iostream><istream><ostream>, , <sstream>, , <streambuf><strstream>c<syncstream>20
반복기<iterator>
언어 지원<cfloat><climits><codecvt>11 a<compare>20<contract>20<coroutine>20<csetjmp><csignal><cstdarg><cstddef><cstdint>11<cstdlib>,, <exception><initializer_list>11<limits> ,, <version><new><typeinfo>20
지역화<clocale><codecvt>11 a<cvt/wbuffer>, , <cvt/wstring><locale>
수학 및 숫자<bit>20<cfenv>11, , <cmath><complex>
<limits><cstdlib><random><numeric>1111<ratio><valarray>
메모리 관리<allocators><memory><memory_resource>17<new><scoped_allocator>11
다중 스레딩<atomic>11<condition_variable>11<future>11<mutex>11<shared_mutex>14<thread>11
범위<ranges>20
정규식<regex>11
문자열 및
문자 데이터
<charconv>17, , <cctype><cstdlib><cstring><cuchar>11<cwchar><cwctype><regex>11<string><string_view>17
시간<chrono>11<ctime>

관련글

in-coder 커뮤니티 HOT게시물

제목 작성자 작성일