C/C+±000-語言常用函數庫-2020-3-7
C語言常用函數庫-2020-3-4
函數庫 | 作用 |
---|---|
#include<assert.h> | 設定插入點 |
#include<ctype.h> | 字符處理 |
#include<errno.h> | 定義錯誤碼 |
#include<float.h> | 浮點數處理 |
#include<fstream.h> | 文件輸入/輸出 |
#include<iomanip.h> | 參數化輸入/輸出 |
#include<iostream.h> | 數據流輸入/輸出 |
#include<limits.h> | 定義各種數據類型最值常量 |
#include<locale.h> | 定義本地化函數 |
#include<math.h> | 定義數學函數 |
#include<stdio.h> | 定義輸入/輸出函數 |
#include<stdlib.h> | 定義雜項函數及內存分配函數 |
#include<string.h> | 字符串處理 |
#include<strstrea.h> | 基於數組的輸入/輸出 |
#include<time.h> | 定義關於時間的數間的函數 |
#include<wchar.h> | 寬字符處理及輸入/輸出 |
#include<wctype.h> | 寬字符分類 |
C++語言常用函數庫-2020-3-5
函數庫 | 作用 |
---|---|
#include <algorithrm> |
STL通用算法 |
#include<bitset> |
STL位集容器 |
#include<cctype |
字符處理 |
#include<cerrno> |
定義錯誤碼 |
#include<clocale> |
定義本地化函數 |
#include<cmath> |
定義數學函數 |
#include<complex> |
複數類 |
#include<cstdio> |
定義輸入/輸出函數 |
#include<cstdlib> |
定義雜項函數及內存分配函數 |
#include<cstring> |
字符串處理 |
#include<ctime> |
定義關於時間的函數 |
#include<deque> |
STL雙端隊列容器 |
#include<exception> |
異常處理類 |
#include<fstream> |
文件輸入/輸出 |
#include<funcional> |
STL定義運算函數(代替運算符) |
#include<limits> |
定義各種數據類型最值常量 |
#include<list> |
STL線性列表容器 |
#include<map> |
STL映射容器 |
#include<iomanip> |
參數化輸入/輸出 |
#include<ios> |
基本輸入/輸出支持 |
#include<iosfwd> |
輸入/輸出系統使用的前置聲明 |
#include<iostream> |
數據流輸入/輸出 |
#include<istream> |
基本輸入流 |
#include<ostream> |
基本輸出流 |
#include<queue> |
STL隊列容器 |
#include<set> |
STL集合容器 |
#include<sstream> |
基於字符串的流 |
#include<stack> |
STL堆棧容器 |
#include<stdexcept> |
標準異常類 |
#include<streambuf> |
底層輸入/輸出支持 |
#include<string> |
字符串類 |
#include<utility> |
STL通用模板類 |
#include<vector> |
STL動態數組容器 |
#include<cwchar> |
寬字符處理及輸入/輸出 |
#include<cwctype> |
寬字符分類 |