C语言头文件大全

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

标准C语言头文件ISOC标准定义的头文件(24项)assert.h验证程序断言complex.h支持复数算术运算ctype.h字符类型errno.h出错码fenv.h浮点环境float.h浮点常量inttypes.h整型格式转换iso646.h替代关系操作符宏limits.h实现常量locale.h局部类别math.h数学常量setjmp.h非局部gotosignal.h信号stdarg.h可变参数表stdbool.h布尔类型和值stddef.h标准定义stdint.h整型stdio.h标准I/O库stdlib.h实用程序库函数string.h字符串操作tgmath.h通用类型数学宏time.h时间和日期wchar.h宽字符支持wctype.h宽字符分类和映射支持POSIX标准定义的必须的头文件(26项)dirent.h目录项fcntl.h文件控制fnmatch.h文件名匹配类型glob.h路径名模式匹配类型grp.h组文件netdb.h网络数据库操作pwd.h口令文件regex.h正则表达式tar.htar归档值termios.h终端I/Ounistd.h符号常量utime.h文件时间wordexp.h字扩展类型arpa/inet.hInternet定义net/if.h套接字本地接口netinet/in.hInternet地址族netinet/tcp.h传输控制协议sys/mman.h内存管理声明sys/select.hselect函数sys/socket.h套接字接口sys/stat.h文件状态sys/times.h进程时间sys/types.h基本系统数据类型sys/un.hUNIX域套接字定义sys/utsname.h系统名sys/wait.h进程控制POSIX标准定义的XSI扩展头文件(26项)cpio.hcpio归档值dlfcn.h动态链接fmtmsg.h消息显示结构ftw.h文件树漫游iconv.h代码集转换实用程序langinfo.h语言信息常量libgen.h模式匹配函数定义monetary.h货币类型ndbm.h数据库操作nl_types.h消息类别poll.h轮询函数search.h搜索表strings.h字符串操作syslog.h系统出错日志记录ucontext.h用户上下文ulimit.h用户限制utmpx.h用户帐户数据库sys/ipc.hIPCsys/msg.h消息队列sys/resource.h资源操作sys/sem.h信号量sys/shm.h共享存储sys/statvfs.h文件系统信息sys/time.h时间类型sys/timeb.h附加的时间sys/uio.h矢量I/O操作POSIX标准定义的可选头文件(8项)aio.h异步I/Omqueue.h消息队列pthread.h线程sched.h执行调度semaphore.h信号量spawn.h实时spawn接口stropts.hXSISTREAMS接口trace.h时间跟踪标准C++语言头文件(54个其中16个用于构建STL,3个为附加非必须)algorithmSTL通用算法bitsetSTL位集容器cassert用于在程序运行时执行断言cctype字符处理cerrno错误码cfloat用于测试浮点类型属性ciso646ISO646变体字符集climits测试整数类型属性clocale本地化函数cmath数学函数complex复数类csetjmp执行非内部的goto语句csignal信号cstdarg访问参数数量变化的函数cstddef用于定义实用的类型和宏cstdio输入/输出cstdlib杂项函数及内存分配cstring字符串ctime时间cwchar宽字符处理及输入/输出cwctype宽字符分类dequeSTL双端队列容器exception异常处理类fstream文件流functionalSTL函数对象iomanip参数化输入/输出ios基本输入/输出支持iosfwd输入/输出前置声明iostream数据流输入/输出istream基本输入流iterator遍历序列的类limits各种数据类型最值常量listSTL线性列表容器locale国际化支持mapSTL映射容器memory专用内存分配器new基本内存分配和释放numeric通用的数字操作ostream基本输出流queueSTL队列容器setSTL集合容器sstream基于字符串的流stackSTL堆栈容器stdexcept标准异常类streambufiostream的缓冲区类string字符串类strstream非内存字符序列的流类typeinfo运行时类型标识utilitySTL通用模板类valarray支持值数组的类和模版类vectorSTL动态数组容器标准C++附加的头文件(3个)非必须hash_maphash_setslistTheStandardC++libraryconsistsof51requiredheaders.Thisimplementationalsoincludesthreeadditionalheaders,hash_map,hash_set,andslist,notrequiredbytheC++Standard,foratotalof54headers.Ofthese54headers,16constitutetheStandardTemplateLibrary,orSTL.Theseareindicatedbelowwiththenotationalgorithm--(STL)fordefiningnumeroustemplatesthatimplementusefulalgorithmsbitset--fordefiningatemplateclassthatadministerssetsofbitscomplex--fordefiningatemplateclassthatsupportscomplexarithmeticdeque--(STL)fordefiningatemplateclassthatimplementsadequecontainerexception--fordefiningseveralfunctionsthatcontrolexceptionhandlingfstream--fordefiningseveraliostreamstemplateclassesthatmanipulateexteralfilesfunctional--(STL)fordefiningseveraltemplatesthathelpconstructpredicatesforthetemplatesdefinedinalgorithmandnumerichash_map--(STL)fordefiningtemplateclassesthatimplementhashedassociativecontainersthatmapkeystovalueshash_set--(STL)fordefiningtemplateclassesthatimplementhashedassociativecontainersiomanip--fordeclaringseveraliostreamsmanipulatorsthattakeanargumentios--fordefiningthetemplateclassthatservesasthebaseformanyiostreamsclassesiosfwd--fordeclaringseveraliostreamstemplateclassesbeforetheyarenecessarilydefinediostream--fordeclaringtheiostreamsobjectsthatmanipulatethestandardstreamsistream--fordefiningthetemplateclassthatperformsextractionsiterator--(STL)fordefiningseveraltemplatesthathelpdefineandmanipulateiteratorslimits--fortestingnumerictypepropertieslist--(STL)fordefiningatemplateclassthatimplementsadoublylinkedlistcontainerlocale--fordefiningseveralclassesandtemplatesthatcontrollocale-specificbehavior,asintheiostreamsclassesmap--(STL)fordefiningtemplateclassesthatimplementassociativecontainersthatmapkeystovaluesmemory--(STL)fordefiningseveraltemplatesthatallocateandfreestorageforvariouscontainerclassesnew--fordeclaringseveralfunctionsthatallocateandfreestoragenumeric--(STL)fordefiningseveraltemplatesthatimplementusefulnumericfunctionsostream--fordefiningthetemplateclassthatperformsinsertionsqueue--(STL)fordefiningatemplateclassthatimplementsaqueuecontainerset--(STL)fordefiningtemplateclassesthatimplementassociativecontainersslist--(STL)fordefiningatemplateclassthatimplementsasinglylinkedlistcontainersstream--fordefiningseveraliostreamstemplateclassesthatmanipulatestringcontainersstack--(STL)fordefiningatemplateclassthatimplementsastackcontainerstdexcept--fordefiningseveralclassesusefulforreportingexceptionsstreambuf--fordefiningtemplateclassesthatbufferiostreamsoperationsstring--fordefiningatemplateclassthatimplementsastringcontainerstrstream--fordefiningseveraliostreamsclassesthatmanipulatein-memorycha

1 / 4
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功