• <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 閱讀(793) 評論(0)  編輯 收藏 引用 所屬分類: C/C++語言

            <2025年7月>
            293012345
            6789101112
            13141516171819
            20212223242526
            272829303112
            3456789

            導航

            統計

            常用鏈接

            留言簿

            隨筆分類

            隨筆檔案

            搜索

            最新評論

            閱讀排行榜

            評論排行榜

            免费一级欧美大片久久网| 国产精品久久久久久久久免费| 久久国产热这里只有精品| 中文字幕亚洲综合久久| 亚洲国产综合久久天堂| 亚洲精品白浆高清久久久久久| 国产一区二区三区久久精品| 亚洲精品tv久久久久久久久久| 久久久久久久女国产乱让韩| 精品国产91久久久久久久| 久久久久噜噜噜亚洲熟女综合| 亚洲午夜无码久久久久| 久久av高潮av无码av喷吹| 亚洲国产美女精品久久久久∴| 久久精品成人免费观看97| 亚洲AV日韩精品久久久久久| 久久影视综合亚洲| 97精品久久天干天天天按摩| 久久综合久久美利坚合众国| 91精品国产高清久久久久久91| 亚洲精品无码专区久久久| 污污内射久久一区二区欧美日韩| 久久成人精品视频| 国产成人久久AV免费| 久久精品中文字幕一区| 欧美日韩成人精品久久久免费看| 久久国产高清字幕中文| 久久精品无码午夜福利理论片| 热久久最新网站获取| 香蕉久久久久久狠狠色| 久久免费观看视频| 久久久久人妻精品一区三寸蜜桃| 久久精品国产亚洲网站| 97久久精品无码一区二区天美| 亚洲精品国产美女久久久 | 韩国免费A级毛片久久| 国产毛片欧美毛片久久久| 久久久久亚洲AV无码观看| 久久综合亚洲色一区二区三区| 无码任你躁久久久久久老妇App| 久久亚洲熟女cc98cm|