隨筆-17  評(píng)論-6  文章-1  trackbacks-0
          C/C++頭文件一覽

          C、傳統(tǒng) C++

          #include <assert.h>    //設(shè)定插入點(diǎn)
          #include <ctype.h>     //字符處理
          #include <errno.h>     //定義錯(cuò)誤碼
          #include <float.h>     //浮點(diǎn)數(shù)處理
          #include <fstream.h>    //文件輸入/輸出
          #include <iomanip.h>    //參數(shù)化輸入/輸出
          #include <iostream.h>   //數(shù)據(jù)流輸入/輸出
          #include <limits.h>    //定義各種數(shù)據(jù)類型最值常量
          #include <locale.h>    //定義本地化函數(shù)
          #include <math.h>     //定義數(shù)學(xué)函數(shù)
          #include <stdio.h>     //定義輸入/輸出函數(shù)
          #include <stdlib.h>    //定義雜項(xiàng)函數(shù)及內(nèi)存分配函數(shù)
          #include <string.h>    //字符串處理
          #include <strstrea.h>   //基于數(shù)組的輸入/輸出
          #include <time.h>     //定義關(guān)于時(shí)間的函數(shù)
          #include <wchar.h>     //寬字符處理及輸入/輸出
          #include <wctype.h>    //寬字符分類

          //////////////////////////////////////////////////////////////////////////

          標(biāo)準(zhǔn) C++?。ㄍ系牟辉僮⑨專?BR>
          #include <algorithm>    //STL 通用算法
          #include <bitset>     //STL 位集容器
          #include <cctype>
          #include <cerrno>
          #include <clocale>
          #include <cmath>
          #include <complex>     //復(fù)數(shù)類
          #include <cstdio>
          #include <cstdlib>
          #include <cstring>
          #include <ctime>
          #include <deque>      //STL 雙端隊(duì)列容器
          #include <exception>    //異常處理類
          #include <fstream>
          #include <functional>   //STL 定義運(yùn)算函數(shù)(代替運(yùn)算符)
          #include <limits>
          #include <list>      //STL 線性列表容器
          #include <map>       //STL 映射容器
          #include <iomanip>
          #include <ios>       //基本輸入/輸出支持
          #include <iosfwd>     //輸入/輸出系統(tǒng)使用的前置聲明
          #include <iostream>
          #include <istream>     //基本輸入流
          #include <ostream>     //基本輸出流
          #include <queue>      //STL 隊(duì)列容器
          #include <set>       //STL 集合容器
          #include <sstream>     //基于字符串的流
          #include <stack>      //STL 堆棧容器    
          #include <stdexcept>    //標(biāo)準(zhǔn)異常類
          #include <streambuf>    //底層輸入/輸出支持
          #include <string>     //字符串類
          #include <utility>     //STL 通用模板類
          #include <vector>     //STL 動(dòng)態(tài)數(shù)組容器
          #include <cwchar>
          #include <cwctype>

          using namespace std;

          //////////////////////////////////////////////////////////////////////////

          C99 增加

          #include <complex.h>   //復(fù)數(shù)處理
          #include <fenv.h>    //浮點(diǎn)環(huán)境
          #include <inttypes.h>  //整數(shù)格式轉(zhuǎn)換
          #include <stdbool.h>   //布爾環(huán)境
          #include <stdint.h>   //整型環(huán)境
          #include <tgmath.h>   //通用類型數(shù)學(xué)宏

          posted on 2006-03-09 16:55 小鐵匠 閱讀(536) 評(píng)論(0)  編輯  收藏 所屬分類: c/c++
          主站蜘蛛池模板: 高清| 修文县| 罗平县| 英德市| 凤城市| 安多县| 清徐县| 绵竹市| 广汉市| 兴安县| 汝州市| 成都市| 顺昌县| 大悟县| 长宁区| 兴和县| 北碚区| 准格尔旗| 门头沟区| 祥云县| 滦平县| 宜宾县| 溧阳市| 安岳县| 介休市| 宾阳县| 怀柔区| 石城县| 宁南县| 岐山县| 城市| 铁力市| 来安县| 汕头市| 孟村| 同心县| 仲巴县| 黔西县| 舞阳县| 锡林郭勒盟| 荥经县|