自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

C++頭文件包含內(nèi)容概覽

開發(fā) 后端
我們在這里主要從C、傳統(tǒng) C++;標(biāo)準(zhǔn) C++以及C99 增加等方面來為大家總結(jié)了C++頭文件的各種類型,以方便大家將來的應(yīng)用。

C++中對于頭文件的應(yīng)用是一個(gè)比較復(fù)雜的步驟,其中有很多比較重要的內(nèi)容值得我們?nèi)ゲ粩嗟膶W(xué)習(xí)。在這里我們先來為大家總結(jié)一下C++頭文件中的各種類型,以方便大家將來的應(yīng)用。#t#

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++?。ㄍ系牟辉僮⑨專?

 

  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é)宏  

 

責(zé)任編輯:曹凱 來源: 博客園
相關(guān)推薦

2010-02-05 16:18:41

C++流式文件操作

2010-01-25 17:55:38

C++頭文件

2010-01-25 18:26:44

CC++頭文件

2010-02-02 13:04:03

C++頭文件

2011-07-14 22:36:37

C++

2010-02-06 09:59:54

C++ void使用規(guī)

2010-02-04 16:58:29

C++類庫

2024-05-17 13:27:45

頭文件C++開發(fā)

2023-10-31 12:59:00

C++編程語言

2010-01-26 14:23:50

C++類

2022-01-14 09:10:56

C++文件Linux

2024-12-04 09:47:26

C++頭文件實(shí)現(xiàn)類

2024-04-24 10:54:05

C++編程編譯器

2010-01-28 10:07:52

C++手冊

2010-02-05 17:00:06

C++單例模式

2010-02-05 10:08:55

C++名字空間

2010-02-06 13:58:13

C++ Bost庫

2010-01-06 18:13:58

.NET Framew

2010-02-04 15:51:07

C++迭代器

2011-06-17 16:09:04

freadfwrite
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號