C++ Library reference 概览

  • STL vs. C++ Standard Library

区别详情参见《理解C++中STL与Standard Library》

  • Standard C++ Library reference

cplusplus

  1. 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:

    HeadersDescripationDetails
    (assert.h)C Diagnostics Librarydefines one macro function that can be used as a standard debugging tool
    (ctype.h)Character handling functionsdeclares a set of functions to classify and tranform individual characters
    (error.h)C Errors
    (fenv.h)Floating-point environmentdeclares a set of functions and macros to access the floating-point environment, along with specific types
    (float.h)Characteristics of floating-point typesdescribes the characteristics of floating types for the specific system and compiler implementation used
    (inttypes.h)C integer types
    (iso646.h)ISO 646 Alternative operator spellings
    (limits.h)Sizes of integral types
    (locale.h)C localization library
    (cmath.h)C numeric library
    (setjmp.h)Non lpcal jumps
    (signal.h)C library to handle signals
    (stdarg.h)Variable arguments handling
    (stdbool.h)Boolean type
    (stddef.h)C Standard definitions
    (stdint.h)Integer types
    (stdio.h)C library to perform Input/Output operationsC Standard Input and Output Library known as stdio.h
    (stdlib.h)C Standard General Utilities Library
    (string.h)C Strings
    (tgmath.h)Type-generic math
    time.hC Time Library
    uchar.hUnicode characters
    wchar.hWide characters
    wctype.hWide character type
  2. Containers
    headerdescription
    Array header
    Bitset header
    Deque header
    <forward_list>Forward list
    List header
    Map header
    Queue header
    Set header
    Stack header
    <unordered_map>Unordered map header
    MUnordered set header
    Vector header
  3. 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:

    headersclasses
    ios_base, ios
    istream, iostream
    ostream
    streambuf
    cin, cout, cerr, clog
    ifstream, fstream, ofstream, filebuf
    istringstream, stringstream, ostringstream, stringbuf
  4. Atomics and threading library
    HeadersDescribe
    Atomic
    <condition_variable>Condition variable
    Future, allow asynchronous access to values set by specific providers, possibly in a different thread
    Mutex
    Thread
  5. Miscellaneous headers
    HeadersDescribe
    Standard Template Library: Algorithms (library)
    Time library (header)
    Unicode conversion facets
    Standard exceptions
    Function objects
    <initializer_list>Initializer list
    Iterator definitions
    Numeric limits
    Localization library
    Memory elements
    Dynamic memory
    Generalized numeric operations
    Random
    Ratio header
    Regular Expressions
    Exception classes
    Strings
    <system_error>System errors
    Tuple library
    Type index
    Type information
    <type_traits>type_traits
    Utility components
    Library for arrays of numeric values
  6. Update progress
  • References

  1. cplusplus.com
  2. IBM knowledge center
  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值