




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、标准C语言头文件ISO C标准定义的头文件(24项) <assert.h> 验证程序断言<complex.h> 支持复数算术运算<ctype.h> 字符类型<errno.h> 出错码<fenv.h> 浮点环境<float.h> 浮点常量<inttypes.h> 整型格式转换<iso646.h> 替代关系操作符宏 <limits.h> 实现常量<locale.h> 局部类别<math.h>
2、; 数学常量<setjmp.h> 非局部goto<signal.h> 信号<stdarg.h> 可变参数表<stdbool.h> 布尔类型和值<stddef.h> 标准定义<stdint.h> 整型<stdio.h> 标准I/O库<stdlib.h> 实用程序库函数<string.h> 字符串操作<tgmath.h> 通用类型数学宏<time.h> 时间和
3、日期<wchar.h> 宽字符支持<wctype.h> 宽字符分类和映射支持POSIX标准定义的必须的头文件(26项) <dirent.h> 目录项 <fcntl.h> 文件控制<fnmatch.h> 文件名匹配类型<glob.h> 路径名模式匹配类型<grp.h> 组文件<netdb.h> 网络数据库操作<pwd.h> 口令文件<regex.h> 正则表达式<tar.h>&
4、#160;tar归档值<termios.h> 终端I/O<unistd.h> 符号常量<utime.h> 文件时间<wordexp.h> 字扩展类型<arpa/inet.h> Internet定义<net/if.h> 套接字本地接口<netinet/in.h> Internet地址族 <netinet/tcp.h> 传输控制协议<sys/mman.h> 内存管理声明<sys/select.h>
5、160;select函数 <sys/socket.h> 套接字接口<sys/stat.h> 文件状态<sys/times.h> 进程时间<sys/types.h> 基本系统数据类型<sys/un.h> UNIX域套接字定义<sys/utsname.h>系统名<sys/wait.h> 进程控制POSIX标准定义的XSI扩展头文件(26项) <cpio.h> cpio归档值<dlfcn.h> 动态链接<fmtmsg.
6、h> 消息显示结构<ftw.h> 文件树漫游<iconv.h> 代码集转换实用程序<langinfo.h> 语言信息常量<libgen.h> 模式匹配函数定义<monetary.h> 货币类型<ndbm.h> 数据库操作<nl_types.h> 消息类别<poll.h> 轮询函数<search.h> 搜索表<strings.h> 字符串操作<syslog.
7、h> 系统出错日志记录<ucontext.h> 用户上下文<ulimit.h> 用户限制<utmpx.h> 用户帐户数据库<sys/ipc.h> IPC<sys/msg.h> 消息队列<sys/resource.h> 资源操作<sys/sem.h> 信号量<sys/shm.h> 共享存储<sys/statvfs.h> 文件系统信息<sys/time.h> 时间类型<sys/t
8、imeb.h> 附加的时间 <sys/uio.h> 矢量I/O操作POSIX标准定义的可选头文件(8项) <aio.h> 异步I/O<mqueue.h> 消息队列<pthread.h> 线程<sched.h> 执行调度<semaphore.h> 信号量<spawn.h> 实时spawn接口<stropts.h> XSI STREAMS接口<trace.h> 时间跟踪1 / 6标准 C+ 语言头
9、文件(54个其中16个用于构建STL,3个为附加非必须)<algorithm>STL通用算法<bitset> STL位集容器<cassert> 用于在程序运行时执行断言<cctype> 字符处理<cerrno> 错误码<cfloat> 用于测试浮点类型属性<ciso646> ISO646变体字符集<climits> 测试整数类型属性<clocale> 本地化函数<cmath>数学函数<complex>复数类<csetj
10、mp> 执行非内部的goto语句<csignal> 信号<cstdarg> 访问参数数量变化的函数<cstddef> 用于定义实用的类型和宏<cstdio> 输入/输出<cstdlib> 杂项函数及内存分配<cstring> 字符串<ctime>时间<cwchar> 宽字符处理及输入/输出 <cwctype> 宽字符分类<deque> STL双端队列容器<exception> 异常处理类<fstream>
11、文件流<functional> STL函数对象<iomanip> 参数化输入/输出<ios>基本输入/输出支持<iosfwd> 输入/输出前置声明<iostream> 数据流输入/输出<istream> 基本输入流<iterator> 遍历序列的类<limits> 各种数据类型最值常量<list>STL线性列表容器<locale> 国际化支持<map> STL映射容器<memory> 专用内存分配器<new> 基本内存分配和释放
12、<numeric> 通用的数字操作 <ostream> 基本输出流<queue>STL 队列容器<set> STL 集合容器<sstream> 基于字符串的流<stack> STL 堆栈容器<stdexcept> 标准异常类<streambuf> iostream 的缓冲区类<string> 字符串类<strstream> 非内存字符序列的流类<typeinfo>运行时类型标识<utility> STL 通用模板类<valarray&g
13、t; 支持值数组的类和模版类<vector> STL 动态数组容器标准C+附加的头文件(3个)非必须<hash_map><hash_set><slist>转义字符 意义 ASCII码值(十进制)a 响铃(BEL) 007b 退格(BS) 008f 换页(FF) 012n 换行(LF) 010r 回车(CR) 013t 水平制表(HT) 009v 垂直制表(VT) 011 反斜杠 092' 单引号字符 039" 双引号字符 0340 空字符(NULL) 000ddd 任意字符 三位八进制xhh 任意字符 二位十六进制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标准库 <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标准库 &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等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年中考历史总复习初中历史必考120个重点知识填空汇编
- 保安班组长培训
- 会议操作培训
- 车队运输安全合同协议
- 基本公共卫生培训课件
- 车辆垫资结清协议合同
- 小企业联保循环额度借款合同
- 办公室保洁服务合同
- 车架废铁采购合同协议
- 爸妈离婚协议书
- 智慧工厂安全管理
- 会计师事务所审计业务操作手册
- Mission-Planner地面站操作手册
- 《节奏控制生产流程》课件
- 《字节跳动之父张一鸣》课件
- 2025年江苏南通市通州区西亭镇招聘14人历年高频重点模拟试卷提升(共500题附带答案详解)
- 老年患者的安全管理课件
- 2025年上海中国铁路上海局集团招聘笔试参考题库含答案解析
- 巡检员质量培训
- 《企业员工流失问题探究的国内外文献综述》4900字
- 2025年甘肃甘南州玛曲县辅警招聘29人历年高频重点提升(共500题)附带答案详解
评论
0/150
提交评论