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

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

C++常用的#include頭文件總結(jié)

2020-05-23 14:23:32
字體:
供稿:網(wǎng)友
這篇文章主要介紹了C++常用的#include頭文件,對初學(xué)者理解C++程序設(shè)計(jì)大有好處的相關(guān)資料
 
 

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

#include <deque>      //STL 雙端隊(duì)列容器
#include <exception>    //異常處理類
#include <fstream>    //文件輸入/輸出
#include <functional>   //STL 定義運(yùn)算函數(shù)(代替運(yùn)算符)
#include <limits>     //定義各種數(shù)據(jù)類型最值常量
#include <list>      //STL 線性列表容器
#include <map>       //STL 映射容器
#include <iomanip>    //參數(shù)化輸入/輸出
#include <ios>       //基本輸入/輸出支持
#include <sstream>     //基于字符串的流
#include <stack>      //STL 堆棧容器
#include <algorithm>    //STL 通用算法
#include <bitset>     //STL 位集容器
#include <cctype>     //字符處理
#include <stdexcept>    //標(biāo)準(zhǔn)異常類
#include <streambuf>    //底層輸入/輸出支持
#include <string>     //字符串類
#include <utility>     //STL 通用模板類
#include <vector>     //STL 動態(tài)數(shù)組容器
#include <iosfwd>     //輸入/輸出系統(tǒng)使用的前置聲明
#include <cerrno>     //定義錯(cuò)誤碼
#include <clocale>    //定義本地化函數(shù)
#include <cmath>     //定義數(shù)學(xué)函數(shù)
#include <complex>     //復(fù)數(shù)類
#include <cstdio>     //定義輸入/輸出函數(shù)
#include <cstdlib>    //定義雜項(xiàng)函數(shù)及內(nèi)存分配函數(shù)
#include <cstring>    //字符串處理
#include <ctime>     //定義關(guān)于時(shí)間的函數(shù)
#include <iostream>    //數(shù)據(jù)流輸入/輸出
#include <istream>     //基本輸入流
#include <ostream>     //基本輸出流
#include <queue>      //STL 隊(duì)列容器
#include <set>       //STL 集合容器
#include <cwchar> //寬字符處理及輸入/輸出
#include <cwctype>     //寬字符分類
#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é)宏

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


發(fā)表評論 共有條評論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 商南县| 广宗县| 新泰市| 永泰县| 天水市| 永宁县| 高青县| 平凉市| 玛多县| 乌鲁木齐县| 蒙自县| 穆棱市| 临湘市| 江川县| 博客| 衡东县| 麟游县| 景谷| 奇台县| 石泉县| 德格县| 新丰县| 全南县| 抚宁县| 盐亭县| 新乐市| 旬阳县| 陈巴尔虎旗| 安化县| 通辽市| 石门县| 永仁县| 景东| 牟定县| 荔波县| 来安县| 介休市| 阿坝| 小金县| 大庆市| 沛县|