C語言頭文件大全參考模板_第1頁(yè)
C語言頭文件大全參考模板_第2頁(yè)
C語言頭文件大全參考模板_第3頁(yè)
C語言頭文件大全參考模板_第4頁(yè)
C語言頭文件大全參考模板_第5頁(yè)
已閱讀5頁(yè),還剩1頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、標(biāo)準(zhǔn)C語言頭文件ISO C標(biāo)準(zhǔn)定義的頭文件(24項(xiàng)) <assert.h> 驗(yàn)證程序斷言<complex.h> 支持復(fù)數(shù)算術(shù)運(yùn)算<ctype.h> 字符類型<errno.h> 出錯(cuò)碼<fenv.h> 浮點(diǎn)環(huán)境<float.h> 浮點(diǎn)常量<inttypes.h> 整型格式轉(zhuǎn)換<iso646.h> 替代關(guān)系操作符宏 <limits.h> 實(shí)現(xiàn)常量<locale.h> 局部類別<math.h>

2、; 數(shù)學(xué)常量<setjmp.h> 非局部goto<signal.h> 信號(hào)<stdarg.h> 可變參數(shù)表<stdbool.h> 布爾類型和值<stddef.h> 標(biāo)準(zhǔn)定義<stdint.h> 整型<stdio.h> 標(biāo)準(zhǔn)I/O庫(kù)<stdlib.h> 實(shí)用程序庫(kù)函數(shù)<string.h> 字符串操作<tgmath.h> 通用類型數(shù)學(xué)宏<time.h> 時(shí)間和

3、日期<wchar.h> 寬字符支持<wctype.h> 寬字符分類和映射支持POSIX標(biāo)準(zhǔn)定義的必須的頭文件(26項(xiàng)) <dirent.h> 目錄項(xiàng) <fcntl.h> 文件控制<fnmatch.h> 文件名匹配類型<glob.h> 路徑名模式匹配類型<grp.h> 組文件<netdb.h> 網(wǎng)絡(luò)數(shù)據(jù)庫(kù)操作<pwd.h> 口令文件<regex.h> 正則表達(dá)式<tar.h>&

4、#160;tar歸檔值<termios.h> 終端I/O<unistd.h> 符號(hào)常量<utime.h> 文件時(shí)間<wordexp.h> 字?jǐn)U展類型<arpa/inet.h> Internet定義<net/if.h> 套接字本地接口<netinet/in.h> Internet地址族 <netinet/tcp.h> 傳輸控制協(xié)議<sys/mman.h> 內(nèi)存管理聲明<sys/select.h>&#

5、160;select函數(shù) <sys/socket.h> 套接字接口<sys/stat.h> 文件狀態(tài)<sys/times.h> 進(jìn)程時(shí)間<sys/types.h> 基本系統(tǒng)數(shù)據(jù)類型<sys/un.h> UNIX域套接字定義<sys/utsname.h>系統(tǒng)名<sys/wait.h> 進(jìn)程控制POSIX標(biāo)準(zhǔn)定義的XSI擴(kuò)展頭文件(26項(xiàng)) <cpio.h> cpio歸檔值<dlfcn.h> 動(dòng)態(tài)鏈接<fmtmsg.

6、h> 消息顯示結(jié)構(gòu)<ftw.h> 文件樹漫游<iconv.h> 代碼集轉(zhuǎn)換實(shí)用程序<langinfo.h> 語言信息常量<libgen.h> 模式匹配函數(shù)定義<monetary.h> 貨幣類型<ndbm.h> 數(shù)據(jù)庫(kù)操作<nl_types.h> 消息類別<poll.h> 輪詢函數(shù)<search.h> 搜索表<strings.h> 字符串操作<syslog.

7、h> 系統(tǒng)出錯(cuò)日志記錄<ucontext.h> 用戶上下文<ulimit.h> 用戶限制<utmpx.h> 用戶帳戶數(shù)據(jù)庫(kù)<sys/ipc.h> IPC<sys/msg.h> 消息隊(duì)列<sys/resource.h> 資源操作<sys/sem.h> 信號(hào)量<sys/shm.h> 共享存儲(chǔ)<sys/statvfs.h> 文件系統(tǒng)信息<sys/time.h> 時(shí)間類型<sys/t

8、imeb.h> 附加的時(shí)間 <sys/uio.h> 矢量I/O操作POSIX標(biāo)準(zhǔn)定義的可選頭文件(8項(xiàng)) <aio.h> 異步I/O<mqueue.h> 消息隊(duì)列<pthread.h> 線程<sched.h> 執(zhí)行調(diào)度<semaphore.h> 信號(hào)量<spawn.h> 實(shí)時(shí)spawn接口<stropts.h> XSI STREAMS接口<trace.h> 時(shí)間跟蹤1 / 6標(biāo)準(zhǔn) C+ 語言頭

9、文件(54個(gè)其中16個(gè)用于構(gòu)建STL,3個(gè)為附加非必須)<algorithm>STL通用算法<bitset> STL位集容器<cassert> 用于在程序運(yùn)行時(shí)執(zhí)行斷言<cctype> 字符處理<cerrno> 錯(cuò)誤碼<cfloat> 用于測(cè)試浮點(diǎn)類型屬性<ciso646> ISO646變體字符集<climits> 測(cè)試整數(shù)類型屬性<clocale> 本地化函數(shù)<cmath>數(shù)學(xué)函數(shù)<complex>復(fù)數(shù)類<csetj

10、mp> 執(zhí)行非內(nèi)部的goto語句<csignal> 信號(hào)<cstdarg> 訪問參數(shù)數(shù)量變化的函數(shù)<cstddef> 用于定義實(shí)用的類型和宏<cstdio> 輸入/輸出<cstdlib> 雜項(xiàng)函數(shù)及內(nèi)存分配<cstring> 字符串<ctime>時(shí)間<cwchar> 寬字符處理及輸入/輸出 <cwctype> 寬字符分類<deque> STL雙端隊(duì)列容器<exception> 異常處理類<fstream>

11、文件流<functional> STL函數(shù)對(duì)象<iomanip> 參數(shù)化輸入/輸出<ios>基本輸入/輸出支持<iosfwd> 輸入/輸出前置聲明<iostream> 數(shù)據(jù)流輸入/輸出<istream> 基本輸入流<iterator> 遍歷序列的類<limits> 各種數(shù)據(jù)類型最值常量<list>STL線性列表容器<locale> 國(guó)際化支持<map> STL映射容器<memory> 專用內(nèi)存分配器<new> 基本內(nèi)存分配和釋放 

12、<numeric> 通用的數(shù)字操作 <ostream> 基本輸出流<queue>STL 隊(duì)列容器<set> STL 集合容器<sstream> 基于字符串的流<stack> STL 堆棧容器<stdexcept> 標(biāo)準(zhǔn)異常類<streambuf> iostream 的緩沖區(qū)類<string> 字符串類<strstream> 非內(nèi)存字符序列的流類<typeinfo>運(yùn)行時(shí)類型標(biāo)識(shí)<utility> STL 通用模板類<valarray&g

13、t; 支持值數(shù)組的類和模版類<vector> STL 動(dòng)態(tài)數(shù)組容器標(biāo)準(zhǔn)C+附加的頭文件(3個(gè))非必須<hash_map><hash_set><slist>轉(zhuǎn)義字符 意義 ASCII碼值(十進(jìn)制)a 響鈴(BEL) 007b 退格(BS) 008f 換頁(yè)(FF) 012n 換行(LF) 010r 回車(CR) 013t 水平制表(HT) 009v 垂直制表(VT) 011 反斜杠 092' 單引號(hào)字符 039" 雙引號(hào)字符 0340 空字符(NULL) 000ddd 任意字符 三位八進(jìn)制xhh 任意字符 二位十六進(jìn)制Th

14、e Standard C+ library consists of 51 required headers.This implementation also includes three additional headers,<hash_map>,<hash_set>,and <slist>,not required by the C+ Standard, for a total of 54 headers.Of these 54 headers,16 constitute the Standard Template Library, or STL.Thes

15、e are indicated below with the notation <algorithm> - (STL) for defining numerous templates that implement useful algorithms<bitset> - for defining a template class that administers sets of bits<complex> - for defining a template class that supports complex arithmetic <deque>

16、 - (STL) for defining a template class that implements a deque container<exception> - for defining several functions that control exception handling <fstream> - for defining several iostreams template classes that manipulate exteral files<functional>- (STL) for defining several tem

17、plates that help construct predicates for the templates defined in <algorithm> and <numeric> <hash_map> - (STL) for defining template classes that implement hashed associative containers that map keys to values <hash_set> - (STL) for defining template classes that implement h

18、ashed associative containers <iomanip> - for declaring several iostreams manipulators that take an argument <ios> - for defining the template class that serves as the base for many iostreams classes <iosfwd> - for declaring several iostreams template classes before they are necessa

19、rily defined <iostream> - for declaring the iostreams objects that manipulate the standard streams <istream> - for defining the template class that performs extractions <iterator> - (STL) for defining several templates that help define and manipulate iterators <limits> - for

20、testing numeric type properties <list> - (STL) for defining a template class that implements a doubly linked list container <locale> - for defining several classes and templates that control locale-specific behavior, as in the iostreams classes <map>- (STL) for defining template cl

21、asses that implement associative containers that map keys to values <memory> - (STL) for defining several templates that allocate and free storage for various container classes <new> - for declaring several functions that allocate and free storage <numeric> - (STL) for defining sev

22、eral templates that implement useful numeric functions <ostream> - for defining the template class that performs insertions <queue> - (STL) for defining a template class that implements a queue container <set> - (STL) for defining template classes that implement associative contain

23、ers <slist> - (STL) for defining a template class that implements a singly linked list container <sstream> - for defining several iostreams template classes that manipulate string containers<stack> - (STL) for defining a template class that implements a stack container <stdexcep

24、t> - for defining several classes useful for reporting exceptions <streambuf> - for defining template classes that buffer iostreams operations <string> - for defining a template class that implements a string container <strstream> - for defining several iostreams classes that ma

25、nipulate in-memory character sequences <typeinfo> - for defining class type_info, the result of the typeid operator <utility> - (STL) for defining several templates of general utility <valarray> - for defining several classes and template classes that support value-oriented arrays

26、<vector> - (STL) for defining a template class that implements a vector container 新的C標(biāo)準(zhǔn)庫(kù) <cassert> - for enforcing assertions when functions execute <cctype> - for classifying characters <cerrno> - for testing error codes reported by library functions <cfloat> - for tes

27、ting floating-point type properties <ciso646> - for programming in ISO 646 variant character sets <climits> - for testing integer type properties <clocale> - for adapting to different cultural conventions <cmath> - for computing common mathematical functions <csetjmp> -

28、 for executing nonlocal goto statements <csignal> - for controlling various exceptional conditions <cstdarg> - for accessing a varying number of arguments <cstddef> - for defining several useful types and macros <cstdio> - for performing input and output <cstdlib> - for

29、 performing a variety of operations <cstring> - for manipulating several kinds of strings <ctime> - for converting between various time and date formats <cwchar> - for manipulating wide streams and several kinds of strings <cwctype> - for classifying wide characters 舊的C標(biāo)準(zhǔn)庫(kù) &l

30、t;assert.h> - for enforcing assertions when functions execute <ctype.h> - for classifying characters <errno.h> - for testing error codes reported by library functions <float.h> - for testing floating-point type properties <iso646.h> - for programming in ISO 646 variant cha

31、racter sets <limits.h> - for testing integer type properties <locale.h> - for adapting to different cultural conventions <math.h> - for computing common mathematical functions <setjmp.h> - for executing nonlocal goto statements <signal.h> - for controlling various exceptional conditions <stdarg.h> - for accessing a varying number of arguments <stdd

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論