国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > C++ > 正文

C++常用的#include頭文件總結

2020-01-26 15:26:37
字體:
來源:轉載
供稿:網友

本文詳細羅列了C++所包含的頭文件的名稱及作用說明,比較適合初學者了解一下,幾乎每一個C++文件的開始都要#include ,可大部分人都沒有去關注#include 后面是什么,對照本文的說明相信會對大家理解C++結構多少有些幫助。

#include <deque>      //STL 雙端隊列容器
#include <exception>    //異常處理類
#include <fstream>    //文件輸入/輸出
#include <functional>   //STL 定義運算函數(代替運算符)
#include <limits>     //定義各種數據類型最值常量
#include <list>      //STL 線性列表容器
#include <map>       //STL 映射容器
#include <iomanip>    //參數化輸入/輸出
#include <ios>       //基本輸入/輸出支持
#include <sstream>     //基于字符串的流
#include <stack>      //STL 堆棧容器
#include <algorithm>    //STL 通用算法
#include <bitset>     //STL 位集容器
#include <cctype>     //字符處理
#include <stdexcept>    //標準異常類
#include <streambuf>    //底層輸入/輸出支持
#include <string>     //字符串類
#include <utility>     //STL 通用模板類
#include <vector>     //STL 動態數組容器
#include <iosfwd>     //輸入/輸出系統使用的前置聲明
#include <cerrno>     //定義錯誤碼
#include <clocale>    //定義本地化函數
#include <cmath>     //定義數學函數
#include <complex>     //復數類
#include <cstdio>     //定義輸入/輸出函數
#include <cstdlib>    //定義雜項函數及內存分配函數
#include <cstring>    //字符串處理
#include <ctime>     //定義關于時間的函數
#include <iostream>    //數據流輸入/輸出
#include <istream>     //基本輸入流
#include <ostream>     //基本輸出流
#include <queue>      //STL 隊列容器
#include <set>       //STL 集合容器
#include <cwchar> //寬字符處理及輸入/輸出
#include <cwctype>     //寬字符分類
#include <complex.h>   //復數處理
#include <fenv.h>    //浮點環境
#include <inttypes.h>  //整數格式轉換
#include <stdbool.h>   //布爾環境
#include <stdint.h>   //整型環境
#include <tgmath.h>   //通用類型數學宏

讀者可對照中文解釋加以理解,并在C++程序開發中快速的記住它們,為以后編程提供便利。

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 阳山县| 香港 | 汝南县| 阳谷县| 巨野县| 曲阳县| 石门县| 城固县| 丰县| 高邮市| 佛冈县| 江西省| 乐陵市| 株洲市| 原阳县| 曲阜市| 任丘市| 宿迁市| 镇原县| 金阳县| 女性| 普宁市| 文山县| 开封县| 岳阳市| 融水| 北辰区| 邳州市| 陇南市| 宁河县| 曲水县| 泽普县| 临沧市| 安吉县| 永吉县| 大竹县| 科尔| 彩票| 湾仔区| 彩票| 九龙坡区|