STL头文件
?
| #include <iostream>標準輸入輸出cin cout等? #include <algorithm> 算法庫 如sort find等? #include <vector> 順序容器,存儲相同類型,同數組,但可以動態添加? #include <functional>? #include <string> string類型? #include <cstdlib>基本庫? 轉一個自己看吧? 標準 C++ (同上的不再注釋)? #include <algorithm> //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 <functional> //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>? using namespace std;? //? C99 增加? #include <complex.h> //復數處理? #include <fenv.h> //浮點環境? #include <inttypes.h> //整數格式轉換? #include <stdbool.h> //布爾環境? #include <stdint.h> //整型環境? #include <tgmath.h> //通用類型數學宏 |
總結
- 上一篇: java乱码
- 下一篇: 记录hive sql报错,return