• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            【C++常識】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>   //通用類型數學宏
            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>   //通用類型數學宏


            posted on 2010-03-26 21:39 LynnRaymond 閱讀(789) 評論(0)  編輯 收藏 引用 所屬分類: C/C++語言

            <2010年3月>
            28123456
            78910111213
            14151617181920
            21222324252627
            28293031123
            45678910

            導航

            統計

            常用鏈接

            留言簿

            隨筆分類

            隨筆檔案

            搜索

            最新評論

            閱讀排行榜

            評論排行榜

            亚洲国产精品久久久久婷婷老年| 亚洲色欲久久久久综合网| 久久99精品久久久久婷婷| 久久精品人人做人人爽电影蜜月| 精品久久久久久无码中文字幕一区| 久久Av无码精品人妻系列| 99久久亚洲综合精品成人| 欧美一区二区久久精品| 精品国产乱码久久久久久1区2区 | 99蜜桃臀久久久欧美精品网站 | 亚洲国产精品久久久久婷婷软件 | 1000部精品久久久久久久久| 国产精品成人久久久久三级午夜电影| 亚洲精品无码久久久久AV麻豆| 日韩乱码人妻无码中文字幕久久 | 久久99亚洲网美利坚合众国| 国产精品99久久久久久宅男| 久久九九久精品国产免费直播| 色综合合久久天天综合绕视看| 久久久久高潮综合影院| 久久精品18| 国产精品久久影院| 嫩草伊人久久精品少妇AV| 伊人色综合久久天天人守人婷| 欧美亚洲国产精品久久蜜芽| 99久久人妻无码精品系列| 久久无码国产专区精品| 亚洲国产精品无码久久九九 | 99久久久久| 久久最近最新中文字幕大全 | 亚洲AV日韩AV天堂久久| 亚洲精品无码久久毛片| 久久综合伊人77777| 久久无码国产| 久久亚洲电影| 久久久久99这里有精品10| 色妞色综合久久夜夜| 久久综合色老色| 99精品久久久久久久婷婷| 国内精品九九久久精品 | 国产毛片久久久久久国产毛片 |