C++頭文件中包含哪些內(nèi)容

C++頭文件中包含哪些內(nèi)容,針對(duì)這個(gè)問(wèn)題,這篇文章詳細(xì)介紹了相對(duì)應(yīng)的分析和解答,希望可以幫助更多想解決這個(gè)問(wèn)題的小伙伴找到更簡(jiǎn)單易行的方法。

成都創(chuàng)新互聯(lián)公司長(zhǎng)期為成百上千家客戶提供的網(wǎng)站建設(shè)服務(wù),團(tuán)隊(duì)從業(yè)經(jīng)驗(yàn)10年,關(guān)注不同地域、不同群體,并針對(duì)不同對(duì)象提供差異化的產(chǎn)品和服務(wù);打造開放共贏平臺(tái),與合作伙伴共同營(yíng)造健康的互聯(lián)網(wǎng)生態(tài)環(huán)境。為永福企業(yè)提供專業(yè)的網(wǎng)站制作、成都網(wǎng)站制作,永福網(wǎng)站改版等技術(shù)服務(wù)。擁有十多年豐富建站經(jīng)驗(yàn)和眾多成功案例,為您定制開發(fā)。

C++頭文件之C、傳統(tǒng) C++

  1. #include < assert.h>//設(shè)定插入點(diǎn)   

  2. #include < ctype.h> //字符處理   

  3. #include < errno.h> //定義錯(cuò)誤碼   

  4. #include < float.h> //浮點(diǎn)數(shù)處理   

  5. #include < fstream.h>  //文件輸入/輸出   

  6. #include < iomanip.h>  //參數(shù)化輸入/輸出   

  7. #include < iostream.h> //數(shù)據(jù)流輸入/輸出   

  8. #include < limits.h>//定義各種數(shù)據(jù)類型最值常量   

  9. #include < locale.h>//定義本地化函數(shù)   

  10. #include < math.h> //定義數(shù)學(xué)函數(shù)   

  11. #include < stdio.h> //定義輸入/輸出函數(shù)   

  12. #include < stdlib.h>//定義雜項(xiàng)函數(shù)及內(nèi)存分配函數(shù)   

  13. #include < string.h>//字符串處理   

  14. #include < strstrea.h> //基于數(shù)組的輸入/輸出   

  15. #include < time.h> //定義關(guān)于時(shí)間的函數(shù)   

  16. #include < wchar.h> //寬字符處理及輸入/輸出   

  17. #include < wctype.h>//寬字符分類  

C++頭文件之標(biāo)準(zhǔn) C++?。ㄍ系牟辉僮⑨專?/strong>

  1. #include < algorithm>  //STL 通用算法   

  2. #include < bitset> //STL 位集容器   

  3. #include < cctype>   

  4. #include < cerrno>   

  5. #include < clocale>   

  6. #include < cmath>   

  7. #include < complex> //復(fù)數(shù)類   

  8. #include < cstdio>   

  9. #include < cstdlib>   

  10. #include < cstring>   

  11. #include < ctime>   

  12. #include < deque>  //STL 雙端隊(duì)列容器   

  13. #include < exception>  //異常處理類   

  14. #include < fstream>   

  15. #include < functional> //STL 定義運(yùn)算函數(shù)(代替運(yùn)算符)   

  16. #include < limits>   

  17. #include < list>//STL 線性列表容器   

  18. #include < map> //STL 映射容器   

  19. #include < iomanip>   

  20. #include < ios> //基本輸入/輸出支持   

  21. #include < iosfwd> //輸入/輸出系統(tǒng)使用的前置聲明   

  22. #include < iostream>   

  23. #include < istream> //基本輸入流   

  24. #include < ostream> //基本輸出流   

  25. #include < queue>  //STL 隊(duì)列容器   

  26. #include < set> //STL 集合容器   

  27. #include < sstream> //基于字符串的流   

  28. #include < stack>  //STL 堆棧容器   

  29. #include < stdexcept>  //標(biāo)準(zhǔn)異常類   

  30. #include < streambuf>  //底層輸入/輸出支持   

  31. #include < string> //字符串類   

  32. #include < utility> //STL 通用模板類   

  33. #include < vector> //STL 動(dòng)態(tài)數(shù)組容器   

  34. #include < cwchar>   

  35. #include < cwctype>   

  36. using namespace std;  

C++頭文件之C99 增加

  1. #include < complex.h> //復(fù)數(shù)處理   

  2. #include < fenv.h>//浮點(diǎn)環(huán)境   

  3. #include < inttypes.h>//整數(shù)格式轉(zhuǎn)換   

  4. #include < stdbool.h> //布爾環(huán)境   

  5. #include < stdint.h> //整型環(huán)境   

  6. #include < tgmath.h> //通用類型數(shù)學(xué)宏  

關(guān)于C++頭文件中包含哪些內(nèi)容問(wèn)題的解答就分享到這里了,希望以上內(nèi)容可以對(duì)大家有一定的幫助,如果你還有很多疑惑沒(méi)有解開,可以關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道了解更多相關(guān)知識(shí)。

網(wǎng)站題目:C++頭文件中包含哪些內(nèi)容
文章轉(zhuǎn)載:http://bm7419.com/article30/igeopo.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供虛擬主機(jī)Google、網(wǎng)站導(dǎo)航品牌網(wǎng)站設(shè)計(jì)、微信公眾號(hào)、外貿(mào)網(wǎng)站建設(shè)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)