1、标准 C 语言头文件 ISO C标准定义的头文件 (24项 ) 验证程序断言 支持复数算术运算 字符类型 出错码 浮点环境 浮点常量 整型格式转换 替代关系操作符宏 实现常量 局部类别 数学常量 非局部 goto 信号 可变参数表 布尔类型和值 标准定义 整型 标准 I/O库 实用程序库函数 字符串操作 通用类型数学宏 时间和日期 宽字符支持 宽字符分类和映射支持 POSIX标准定义的必须的头文件 (26项 ) 目录项 文件控制 文件名匹配类型 路径名模式匹配类型 组文件 网络数据库操作 口令文件 正则表达式 tar归档值 终端 I/O 符号常量 文件时间 字扩展类型 Internet定义 套
2、接字 本地接口 Internet地址族 传输控制协议 内存管理声明 select函数 套接字接口 文件状态 进程时间 基本系统数据类型 UNIX域套接字定义 系统名 进程控制 POSIX标准定义的 XSI扩展头文件 (26项 ) cpio归档值 动态链接 消息显示结构 文件树漫游 代码集转换实用程序 语言信息常量 模式匹配函数定义 货币类型 数据库操作 消息类别 轮询函数 搜索表 字符串操作 系统出错日志记录 用户上下文 用户限制 用户帐户数据库 IPC 消息队列 资源操作 信号量 共享存储 文件系统信息 时间类型 附加的时间 矢量 I/O操作 POSIX标准定 义的可选头文件 (8项 ) 异
3、步 I/O 消息队列 线程 执行调度 信号量 实时 spawn接口 XSI STREAMS接口 时间跟踪 标准 C+ 语言头文件 ( 54个 其中 16 个用于构建 STL,3个为附加非必须 ) STL通用算法 STL位集容器 用 于在程序运行时执行断言 字符处理 错误码 用于测试浮点类型属性 ISO646变体字符集 测试整数类型属性 本地化函数 数学函数 复数类 执行非内部的 goto语句 信号 访问参数数量变化的函数 用于定义实用的类型和宏 输入 /输出 杂项函数及内存分配 字符串 时间 宽字符处理及输入 /输出 宽字符分类 STL双端队列容器 异常处理类 文件流 STL函数 对象 参数化
4、输入 /输出 基本输入 /输出支持 输入 /输出前置声明 数据流输入 /输出 基 本输入流 遍历序列的类 各种数据类型最值常量 STL线性列表容器 国际化支持 STL映射容器 专用内存分配器 基本内存分配和释放 通用的数字操作 基本输出流 STL 队列容器 STL 集合容器 基于字符串的流 STL 堆栈容器 标准 异常类 iostream 的缓冲区类 字符串类 非内存字符序列的流类 运行时类型标识 STL 通用模板类 支持值数组的类和模版类 STL 动态数组容器 标准 C+附加的头文件 (3 个 )非必须 The Standard C+ library consists of 51 requi
5、red headers.This implementation also includes three additional headers,and ,not required by the C+ Standard, for a total of 54 headers.Of these 54 headers,16 constitute the Standard Template Library, or STL.These are indicated below with the notation - (STL) for defining numerous templates that impl
6、ement useful algorithms - for defining a template class that administers sets of bits - for defining a template class that supports complex arithmetic - (STL) for defining a template class that implements a deque container - for defining several functions that control exception handling - for defini
7、ng several iostreams template classes that manipulate exteral files - (STL) for defining several templates that help construct predicates for the templates defined in and - (STL) for defining template classes that implement hashed associative containers that map keys to values - (STL) for defining t
8、emplate classes that implement hashed associative containers - for declaring several iostreams manipulators that take an argument - for defining the template class that serves as the base for many iostreams classes - for declaring several iostreams template classes before they are necessarily define
9、d - for declaring the iostreams objects that manipulate the standard streams - for defining the template class that performs extractions - (STL) for defining several templates that help define and manipulate iterators - for testing numeric type properties - (STL) for defining a template class that i
10、mplements a doubly linked list container - for defining several classes and templates that control locale-specific behavior, as in the iostreams classes - (STL) for defining template classes that implement associative containers that map keys to values - (STL) for defining several templates that all
11、ocate and free storage for various container classes - for declaring several functions that allocate and free storage - (STL) for defining several templates that implement useful numeric functions - for defining the template class that performs insertions - (STL) for defining a template class that i
12、mplements a queue container - (STL) for defining template classes that implement associative containers - (STL) for defining a template class that implements a singly linked list container - for defining several iostreams template classes that manipulate string containers - (STL) for defining a temp
13、late class that implements a stack container - for defining several classes useful for reporting exceptions - for defining template classes that buffer iostreams operations - for defining a template class that implements a string container - for defining several iostreams classes that manipulate in-
14、memory character sequences - for defining class type_info, the result of the typeid operator - (STL) for defining several templates of general utility - for defining several classes and template classes that support value-oriented arrays - (STL) for defining a template class that implements a vector
15、 container 新的 C标准库 - for enforcing assertions when functions execute - for classifying characters - for testing error codes reported by library functions - for testing floating-point type properties - for programming in ISO 646 variant character sets - for testing integer type properties - for adapt
16、ing to different cultural conventions - for computing common mathematical functions - for executing nonlocal goto statements - for controlling various exceptional conditions - for accessing a varying number of arguments - for defining several useful types and macros - for performing input and output
17、 - for performing a variety of operations - for manipulating several kinds of strings - for converting between various time and date formats - for manipulating wide streams and several kinds of strings - for classifying wide characters 旧的 C标准库 - for enforcing assertions when functions execute - for
18、classifying characters - for testing error codes reported by library functions - for testing floating-point type properties - for programming in ISO 646 variant character sets - for testing integer type properties - for adapting to different cultural conventions - for computing common mathematical f
19、unctions - for executing nonlocal goto statements - for controlling various exceptional conditions - for accessing a varying number of arguments - for defining several useful types and macros - for performing input and output - for performing a variety of operations - for manipulating several kinds
20、of strings - for converting between various time and date formats - for manipulating wide streams and several kinds of strings - for classifying wide characters Finally, in this implementation, the Standard C+ library also includes several headers for compatibility with traditional C+ libraries: - f
21、or defining several iostreams template classes that manipulate exteral files - for declaring several iostreams manipulators that take an argument - for declaring the iostreams objects that manipulate the standard streams - for declaring several functions that allocate and free storage - for declaring several template classes that aid migration from older versions of the Standard Template Library