cplusplus
.com
教程
參考
文章
論壇
C++
教程
參考
文章
論壇
參考
C 庫
<cassert> (assert.h)
<cctype> (ctype.h)
<cerrno> (errno.h)
C++11
<cfenv> (fenv.h)
<cfloat> (float.h)
C++11
<cinttypes> (inttypes.h)
<ciso646> (iso646.h)
<climits> (limits.h)
<clocale> (locale.h)
<cmath> (math.h)
<csetjmp> (setjmp.h)
<csignal> (signal.h)
<cstdarg> (stdarg.h)
C++11
<cstdbool> (stdbool.h)
<cstddef> (stddef.h)
C++11
<cstdint> (stdint.h)
<cstdio> (stdio.h)
<cstdlib> (stdlib.h)
<cstring> (string.h)
C++11
<ctgmath> (tgmath.h)
<ctime> (time.h)
C++11
<cuchar> (uchar.h)
<cwchar> (wchar.h)
<cwctype> (wctype.h)
容器
C++11
<array>
<deque>
C++11
<forward_list>
<list>
<map>
<queue>
<set>
<stack>
C++11
<unordered_map>
C++11
<unordered_set>
<vector>
輸入/輸出
<fstream>
<iomanip>
<ios>
<iosfwd>
<iostream>
<istream>
<ostream>
<sstream>
<streambuf>
多執行緒
C++11
<atomic>
C++11
<condition_variable>
C++11
<future>
C++11
<mutex>
C++11
<thread>
其他
<algorithm>
<bitset>
C++11
<chrono>
C++11
<codecvt>
<complex>
<exception>
<functional>
C++11
<initializer_list>
<iterator>
<limits>
<locale>
<memory>
<new>
<numeric>
C++11
<random>
C++11
<ratio>
C++11
<regex>
<stdexcept>
<string>
C++11
<system_error>
C++11
<tuple>
C++11
<type_traits>
C++11
<typeindex>
<typeinfo>
<utility>
<valarray>
參考
參考
標準C++庫參考
C 庫
C 語言庫的元素也作為 C++ 標準庫的子集被包含在內。這些涵蓋了許多方面,從通用工具函式和宏到輸入/輸出函式和動態記憶體管理函式。
<cassert> (assert.h)
C 診斷庫
(標頭檔案)
<cctype> (ctype.h)
字元處理函式
(標頭檔案)
<cerrno> (errno.h)
C 錯誤
(標頭檔案)
<cfenv> (fenv.h)
浮點環境
(標頭檔案)
<cfloat> (float.h)
浮點型別的特性
(標頭檔案)
<cinttypes> (inttypes.h)
C 整型
(標頭檔案)
<ciso646> (iso646.h)
ISO 646 替代運算子拼寫
(標頭檔案)
<climits> (limits.h)
整數型別的大小
(標頭檔案)
<clocale> (locale.h)
C 本地化庫
(標頭檔案)
<cmath> (math.h)
C 數值庫
(標頭檔案)
<csetjmp> (setjmp.h)
非區域性跳轉
(標頭檔案)
<csignal> (signal.h)
用於處理訊號的 C 庫
(標頭檔案)
<cstdarg> (stdarg.h)
可變引數處理
(標頭檔案)
<cstdbool> (stdbool.h)
布林型別
(標頭檔案)
<cstddef> (stddef.h)
C 標準定義
(標頭檔案)
<cstdint> (stdint.h)
整型
(標頭檔案)
<cstdio> (stdio.h)
用於執行輸入/輸出操作的 C 庫
(標頭檔案)
<cstdlib> (stdlib.h)
C 標準通用工具庫
(標頭檔案)
<cstring> (string.h)
C 字串
(標頭檔案)
<ctgmath> (tgmath.h)
型別通用數學
(標頭檔案)
<ctime> (time.h)
C 時間庫
(標頭檔案)
<cuchar> (uchar.h)
Unicode 字元
(標頭檔案)
<cwchar> (wchar.h)
寬字元
(標頭檔案)
<cwctype> (wctype.h)
寬字元型別
(標頭檔案)
容器
<array>
陣列標頭檔案
(標頭檔案)
<bitset>
位集標頭檔案
(標頭檔案)
<deque>
雙端佇列標頭檔案
(標頭檔案)
<forward_list>
前向列表
(標頭檔案)
<list>
列表標頭檔案
(標頭檔案)
<map>
對映標頭檔案
(標頭檔案)
<queue>
佇列標頭檔案
(標頭檔案)
<set>
集合標頭檔案
(標頭檔案)
<stack>
棧標頭檔案
(標頭檔案)
<unordered_map>
無序對映標頭檔案
(標頭檔案)
<unordered_set>
無序集合標頭檔案
(標頭檔案)
<vector>
向量標頭檔案
(標頭檔案)
輸入/輸出流庫
提供使用一種名為
流
的抽象的功能,該抽象專為對字元序列(如檔案或字串)執行輸入和輸出操作而設計。
此功能通過幾個相關的類提供,如下圖關係所示,頂部是相應的標頭檔案名
原子和執行緒庫
<atomic>
原子
(標頭檔案)
<condition_variable>
條件變數
(標頭檔案)
<future>
Future
(標頭檔案)
<mutex>
互斥鎖
(標頭檔案)
<thread>
執行緒
(標頭檔案)
雜項標頭檔案
<algorithm>
標準模板庫:演算法
(庫)
<chrono>
時間庫
(標頭檔案)
<codecvt>
Unicode 轉換刻面
(標頭檔案)
<complex>
複數庫
(標頭檔案)
<exception>
標準異常
(標頭檔案)
<functional>
函式物件
(標頭檔案)
<initializer_list>
初始化列表
(標頭檔案)
<iterator>
迭代器定義
(標頭檔案)
<limits>
數值極限
(標頭檔案)
<locale>
本地化庫
(標頭檔案)
<memory>
記憶體元素
(標頭檔案)
<new>
動態記憶體
(標頭檔案)
<numeric>
通用數值運算
(標頭檔案)
<random>
隨機
(標頭檔案)
<ratio>
比例標頭檔案
(標頭檔案)
<regex>
正則表示式
(標頭檔案)
<stdexcept>
異常類
(標頭檔案)
<string>
字串
(標頭檔案)
<system_error>
系統錯誤
(標頭檔案)
<tuple>
元組庫
(標頭檔案)
<typeindex>
型別索引
(標頭檔案)
<typeinfo>
型別資訊
(標頭檔案)
<type_traits>
type_traits
(標頭檔案)
<utility>
實用工具元件
(標頭檔案)
<valarray>
數值陣列庫
(標頭檔案)
更新進度
正在進行更新整個參考以符合最新標準的工作。要檢視每個標頭檔案的狀態,請參閱
更新進度
。