C/C++語言中的頭文件匯總
更新時間:2020年06月01日 17:13:03 作者:劉XX
這篇文章主要匯總了C/C++語言中的頭文件,方便各位朋友更好的工作和學(xué)習(xí),有需要的朋友可以參考下
stdio.h就是指“standard input&output"
意思就是說標準輸入輸出頭文件!
所以了,用到標準輸入輸出函數(shù)時,就要調(diào)用這個頭文件
C/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++ (同上的不再注釋) 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é)宏
以上就是C/C++語言中的頭文件匯總的詳細內(nèi)容,更多關(guān)于C/C++ 頭文件的資料請關(guān)注腳本之家其它相關(guān)文章!
相關(guān)文章
使用C++實現(xiàn)MySQL數(shù)據(jù)庫連接池
這篇文章主要為大家詳細介紹了如何使用C++實現(xiàn)MySQL數(shù)據(jù)庫連接池,文中的示例代碼講解詳細,具有一定的借鑒價值,有需要的小伙伴可以了解下2024-03-03CMake語法及CMakeList.txt簡單使用小結(jié)
Cmake主要用于開發(fā)跨平臺的C++項目,本文主要介紹了CMake語法及CMakeList.txt簡單使用小結(jié),具有一定的參考價值,感興趣的可以了解一下2022-05-05C語言基礎(chǔ)知識點解析(extern,static,typedef,const)
本篇文章是對C語言基礎(chǔ)知識點(extern,static,typedef,const)的用法進行了詳細的分析介紹,需要的朋友可以過來參考下2013-10-10C++ 內(nèi)聯(lián)函數(shù)inline案例詳解
這篇文章主要介紹了C++ 內(nèi)聯(lián)函數(shù)inline案例詳解,本篇文章通過簡要的案例,講解了該項技術(shù)的了解與使用,以下就是詳細內(nèi)容,需要的朋友可以參考下2021-09-09