日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

STL头文件

發(fā)布時間:2025/3/17 编程问答 22 豆豆
生活随笔 收集整理的這篇文章主要介紹了 STL头文件 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

?

#include <iostream>標(biāo)準(zhǔn)輸入輸出cin cout等?
#include <algorithm> 算法庫 如sort find等?
#include <vector> 順序容器,存儲相同類型,同數(shù)組,但可以動態(tài)添加?
#include <functional>?
#include <string> string類型?
#include <cstdlib>基本庫?


轉(zhuǎn)一個自己看吧?

標(biāo)準(zhǔn) C++ (同上的不再注釋)?

#include <algorithm>    //STL 通用算法?
#include <bitset>     //STL 位集容器?
#include <cctype>?
#include <cerrno>?
#include <clocale>?
#include <cmath>?
#include <complex>     //復(fù)數(shù)類?
#include <cstdio>?
#include <cstdlib>?
#include <cstring>?
#include <ctime>?
#include <deque>      //STL 雙端隊列容器?
#include <exception>    //異常處理類?
#include <fstream>?
#include <functional>   //STL 定義運算函數(shù)(代替運算符)?
#include <limits>?
#include <list>      //STL 線性列表容器?
#include <map>       //STL 映射容器?
#include <iomanip>?
#include <ios>       //基本輸入/輸出支持?
#include <iosfwd>     //輸入/輸出系統(tǒng)使用的前置聲明?
#include <iostream>?
#include <istream>     //基本輸入流?
#include <ostream>     //基本輸出流?
#include <queue>      //STL 隊列容器?
#include <set>       //STL 集合容器?
#include <sstream>     //基于字符串的流?
#include <stack>      //STL 堆棧容器    ?
#include <stdexcept>    //標(biāo)準(zhǔn)異常類?
#include <streambuf>    //底層輸入/輸出支持?
#include <string>     //字符串類?
#include <utility>     //STL 通用模板類?
#include <vector>     //STL 動態(tài)數(shù)組容器?
#include <cwchar>?
#include <cwctype>?

using namespace std;?

//?

C99 增加?

#include <complex.h>   //復(fù)數(shù)處理?
#include <fenv.h>    //浮點環(huán)境?
#include <inttypes.h>  //整數(shù)格式轉(zhuǎn)換?
#include <stdbool.h>   //布爾環(huán)境?
#include <stdint.h>   //整型環(huán)境?
#include <tgmath.h>   //通用類型數(shù)學(xué)宏

總結(jié)

以上是生活随笔為你收集整理的STL头文件的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。