2024年4月16日发(作者:)

标准C语言头文件

ISO C标准定义的头文件(24项)

验证程序断言 支持复数算术运算 字符类型

出错码 浮点环境 浮点常量

整型格式转换 替代关系操作符宏 实现常量

局部类别 数学常量 非局部goto

信号 可变参数表 布尔类型和值

标准定义 整型 标准I/O库

实用程序库函数

学宏

字符串操作 通用类型数

时间和日期

映射支持

宽字符支持 宽字符分类和

POSIX标准定义的必须的头文件(26项)

目录项 文件控制 文件名匹配类型

路径名模式匹配类型 组文件 网络数据库操作

口令文件 正则表达式 tar归档值

终端I/O 符号常量 文件时间

字扩展类型 Internet定义 套接字本地接口

Internet地址族 传输控制协议 内存管理声

select函数 套接字接口 文件状态

进程时间

定义

基本系统数据类型 UNIX域套接字

系统名 进程控制

POSIX标准定义的XSI扩展头文件(26项)

cpio归档值 动态链接 消息显示结构

文件树漫游

常量

代码集转换实用程序 语言信息

模式匹配函数定义 货币类型 数据库操作

消息类别 轮询函数 搜索表

字符串操作 系统出错日志记录 用户上下文

用户限制 用户帐户数据库 IPC

消息队列 资源操作 信号量

共享存储 文件系统信息 时间类型

附加的时间 矢量I/O操作

POSIX标准定义的可选头文件(8项)

异步I/O 消息队列

执行调度 信号量

接口

XSI STREAMS接口 时间跟踪

线程

实时spawn

标准 C++ 语言头文件(54个其中16个用于构建STL,3个为附加非必须)

STL通用算法

行时执行断言

STL位集容器 用于在程序运

字符处理

类型属性

错误码 用于测试浮点

ISO646变体字符集 测试整数类型属性 本地化函数

的goto语句

数学函数 复数类 执行非内部

信号

类型和宏

访问参数数量变化的函数 用于定义实用的

输入/输出 杂项函数及内存分配 字符串

时间 宽字符处理及输入/输出 宽字符分类

STL双端队列容器 异常处理类 文件流

STL函数对象

出支持

参数化输入/输出 基本输入/输

输入/输出前置声明

数据流输入/输出 基本输入

遍历序列的类

各种数据类型最值常量 STL线性列表容

国际化支持

STL映射容器 专用内存分配

基本内存分配和释放

出流

通用的数字操作 基本输

STL 队列容器

的流

STL 集合容器 基于字符串

STL 堆栈容器

缓冲区类

标准异常类 iostream 的

字符串类

标识

非内存字符序列的流类 运行时类型

STL 通用模板类

容器

支持值数组的类和模版类 STL 动态数组

标准C++附加的头文件(3个)非必须

The Standard C++ library consists of 51 required implementation also

includes three additional headers,,,and ,not required by the

C++ Standard, for a total of 54 these 54 headers,16 constitute the Standard

Template Library, or are indicated below with the notation

-- (STL) for defining numerous templates that implement 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 defining 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 template classes that implement hashed associative

containers

-- for declaring several iostreams manipulators that take an argument

classes

-- for defining the template class that serves as the base for many iostreams

-- for declaring several iostreams template classes before they are

necessarily

defined

-- for declaring the iostreams objects that manipulate the standard

streams

-- for defining the template class that performs extractions

iterators

-- (STL) for defining several templates that help define and manipulate

-- for testing numeric type properties

container

-- (STL) for defining a template class that implements a doubly linked list

-- for defining several classes and templates that control

locale-specific behavior, as in the iostreams classes

that

-- (STL) for defining template classes that implement associative containers

map keys to values

-- (STL) for defining several templates that allocate 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 implements 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 template 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-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 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 adapting 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

-- 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 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 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

-- 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

Finally, in this implementation, the Standard C++ library also includes several headers for

compatibility with traditional C++ libraries:

-- for 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