溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

如何對C/C++頭文件進行說明

發(fā)布時間:2021-10-27 18:18:08 來源:億速云 閱讀:126 作者:柒染 欄目:編程語言

這期內(nèi)容當中小編將會給大家?guī)碛嘘P(guān)如何對C/C++頭文件進行說明,文章內(nèi)容豐富且以專業(yè)的角度為大家分析和敘述,閱讀完這篇文章希望大家可以有所收獲。

C、傳統(tǒng) C++
#include <assert.h>//設(shè)定插入點
#include <ctype.h> //字符處理
#include <errno.h> //定義錯誤碼
#include <float.h> //浮點數(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>//定義雜項函數(shù)及內(nèi)存分配函數(shù)
#include <string.h>//字符串處理
#include <strstrea.h> //基于數(shù)組的輸入/輸出
#include <time.h> //定義關(guān)于時間的函數(shù)
#include <wchar.h> //寬字符處理及輸入/輸出
#include <wctype.h>//寬字符分類
//////////////////////////////////////////////////////////////////////////
標準 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 雙端隊列容器
#include <exception>  //異常處理類
#include <fstream>
#include <functional> //STL 定義運算函數(shù)(代替運算符)
#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 隊列容器
#include <set> //STL 集合容器
#include <sstream> //基于字符串的流
#include <stack>  //STL 堆棧容器
#include <stdexcept>  //標準異常類
#include <streambuf>  //底層輸入/輸出支持
#include <string> //字符串類
#include <utility> //STL 通用模板類
#include <vector> //STL 動態(tài)數(shù)組容器
#include <cwchar>
#include <cwctype>
using namespace std;
C99 增加
#include <complex.h> //復(fù)數(shù)處理
#include <fenv.h>//浮點環(huán)境
#include <inttypes.h>//整數(shù)格式轉(zhuǎn)換
#include <stdbool.h> //布爾環(huán)境
#include <stdint.h> //整型環(huán)境
#include <tgmath.h> //通用類型數(shù)學(xué)宏

【編輯推薦】

  1. C與C++中標準輸入實現(xiàn)方式上的一點區(qū)別

  2. C++編譯器如何對Const常量進行分配存儲空間

  3. C++類庫設(shè)計的基本構(gòu)思與方法

  4. 玩轉(zhuǎn)C++語言的幾種方法

  5. 如何更好的進行C++代碼編制

上述就是小編為大家分享的如何對C/C++頭文件進行說明了,如果剛好有類似的疑惑,不妨參照上述分析進行理解。如果想知道更多相關(guān)知識,歡迎關(guān)注億速云行業(yè)資訊頻道。

向AI問一下細節(jié)

免責聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI