[轉載]C/C++標頭檔一覽資訊

來源:互聯網
上載者:User
C/C++標頭檔一覽
C、傳統 C++ 

#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++ (同上的不再注釋) 

#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>   //通用類型數學宏

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.