最为完整C与C++的头文件大全.docx

上传人:b****4 文档编号:4882457 上传时间:2022-12-11 格式:DOCX 页数:40 大小:40.74KB
下载 相关 举报
最为完整C与C++的头文件大全.docx_第1页
第1页 / 共40页
最为完整C与C++的头文件大全.docx_第2页
第2页 / 共40页
最为完整C与C++的头文件大全.docx_第3页
第3页 / 共40页
最为完整C与C++的头文件大全.docx_第4页
第4页 / 共40页
最为完整C与C++的头文件大全.docx_第5页
第5页 / 共40页
点击查看更多>>
下载资源
资源描述

最为完整C与C++的头文件大全.docx

《最为完整C与C++的头文件大全.docx》由会员分享,可在线阅读,更多相关《最为完整C与C++的头文件大全.docx(40页珍藏版)》请在冰豆网上搜索。

最为完整C与C++的头文件大全.docx

最为完整C与C++的头文件大全

C/C++头文件一览

C、传统C++

#include    //设定插入点

#include    //字符处理

#include    //定义错误码

#include    //浮点数处理

#include   //文件输入/输出

#include   //参数化输入/输出

#include   //数据流输入/输出

#include    //定义各种数据类型最值常量

#include    //定义本地化函数

#include     //定义数学函数

#include    //定义输入/输出函数

#include    //定义杂项函数及内存分配函数

#include    //字符串处理

#include   //基于数组的输入/输出

#include     //定义关于时间的函数

#include    //宽字符处理及输入/输出

#include    //宽字符分类

标准C语言头文件

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

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

 出错码 浮点环境 浮点常量

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

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

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

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

 实用程序库函数 字符串操作 通用类型数学宏

 时间和日期 宽字符支持 宽字符分类和映射支持

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

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

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

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

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

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

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

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

 进程时间 基本系统数据类型 UNIX域套接字定义

系统名 进程控制

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

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

 文件树漫游 代码集转换实用程序 语言信息常量

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

 消息类别 轮询函数 搜索表

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

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

 消息队列资源操作 信号量

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

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

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

 异步I/O 消息队列 线程

 执行调度信号量 实时spawn接口

 XSISTREAMS接口 时间跟踪

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

 STL通用算法STL位集容器 用于在程序运行时执行断言

字符处理错误码 用于测试浮点类型属性

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

数学函数 复数类 执行非内部的goto语句

 信号 访问参数数量变化的函数 用于定义实用的类型和宏

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

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

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

STL函数对象参数化输入/输出 基本输入/输出支持

输入/输出前置声明数据流输入/输出基本输入流

遍历序列的类各种数据类型最值常量 STL线性列表容器

国际化支持STL映射容器专用内存分配器

基本内存分配和释放 通用的数字操作基本输出流

STL队列容器STL集合容器基于字符串的流

STL堆栈容器标准异常类iostream的缓冲区类

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

STL通用模板类 支持值数组的类和模版类STL动态数组容器

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

TheStandardC++libraryconsistsof51requiredheaders.Thisimplementationalsoincludesthreeadditionalheaders,,,and,notrequiredbytheC++Standard,foratotalof54headers.Ofthese54headers,16constitutetheStandardTemplateLibrary,orSTL.Theseareindicatedbelowwiththenotation

--(STL)fordefiningnumeroustemplatesthatimplementusefulalgorithms

--fordefiningatemplateclassthatadministerssetsofbits

--fordefiningatemplateclassthatsupportscomplexarithmetic

--(STL)fordefiningatemplateclassthatimplementsadequecontainer

--fordefiningseveralfunctionsthatcontrolexceptionhandling

--fordefiningseveraliostreamstemplateclassesthatmanipulateexteralfiles

--(STL)fordefiningseveraltemplatesthathelpconstructpredicatesfor

thetemplatesdefinedinand

--(STL)fordefiningtemplateclassesthatimplementhashedassociativecontainers

thatmapkeystovalues

--(STL)fordefiningtemplateclassesthatimplementhashedassociativecontainers

--fordeclaringseveraliostreamsmanipulatorsthattakeanargument

--fordefiningthetemplateclassthatservesasthebaseformanyiostreamsclasses

--fordeclaringseveraliostreamstemplateclassesbeforetheyarenecessarily

defined

--fordeclaringtheiostreamsobjectsthatmanipulatethestandardstreams

--fordefiningthetemplateclassthatperformsextractions

--(STL)fordefiningseveraltemplatesthathelpdefineandmanipulateiterators

--fortestingnumerictypeproperties

--(STL)fordefiningatemplateclassthatimplementsadoublylinkedlistcontainer

--fordefiningseveralclassesandtemplatesthatcontrol

locale-specificbehavior,asintheiostreamsclasses

--(STL)fordefiningtemplateclassesthatimplementassociativecontainersthat

mapkeystovalues

--(STL)fordefiningseveraltemplatesthatallocateandfreestorageforvarious

containerclasses

--fordeclaringseveralfunctionsthatallocateandfreestorage

--(STL)fordefiningseveraltemplatesthatimplementusefulnumericfunctions

--fordefiningthetemplateclassthatperformsinsertions

--(STL)fordefiningatemplateclassthatimplementsaqueuecontainer

--(STL)fordefiningtemplateclassesthatimplementassociativecontainers

--(STL)fordefiningatemplateclassthatimplementsasinglylinkedlistcontainer

--fordefiningseveraliostreamstemplateclassesthatmanipulatestringcontainers

--(STL)fordefiningatemplateclassthatimplementsastackcontainer

--fordefiningseveralclassesusefulforreportingexceptions

--fordefiningtemplateclassesthatbufferiostreamsoperations

--fordefiningatemplateclassthatimplementsastringcontainer

--fordefiningseveraliostreamsclassesthatmanipulatein-memorycharacter

sequences

--fordefiningclasstype_info,theresultofthetypeidoperator

--(STL)fordefiningseveraltemplatesofgeneralutility

--fordefiningseveralclassesandtemplateclassesthatsupportvalue-oriented

arrays

--(STL)fordefiningatemplateclassthatimplementsavectorcontainer

新的C标准库

--forenforcingassertionswhenfunctionsexecute

--forclassifyingcharacters

--fortestingerrorcodesreportedbylibraryfunctions

--fortestingfloating-pointtypeproperties

--forprogramminginISO646variantcharactersets

--fortestingintegertypeproperties

--foradaptingtodifferentculturalconventions

--forcomputingcommonmathematicalfunctions

--forexecutingnonlocalgotostatements

--forcontrollingvariousexceptionalconditions

--foraccessingavaryingnumberofarguments

--fordefiningseveralusefultypesandmacros

--forperforminginputandoutput

--forperformingavarietyofoperations

--formanipulatingseveralkindsofstrings

--forconvertingbetweenvarioustimeanddateformats

--formanipulatingwidestreamsandseveralkindsofstrings

--forclassifyingwidecharacters

旧的C标准库

--forenforcingassertionswhenfunctionsexecute

--forclassifyingcharacters

--fortestingerrorcodesreportedbylibraryfunctions

--fortestingfloating-pointtypeproperties

--forprogramminginISO646variantcharactersets

--fortestingintegertypeproperties

--foradaptingtodifferentculturalconventions

--forcomputingcommonmathematicalfunctions

--forexecutingnonlocalgotostatements

--forcontrollingvariousexceptionalconditions

--foraccessingavaryingnumberofarguments

--fordefiningseveralusefultypesandmacros

--forperforminginputandoutput

--forperformingavarietyofoperations

--formanipulatingseveralkindsofstrings

--forconvertingbetweenvarioustimeanddateformats

--formanipulatingwidestreamsandseveralkindsofstrings

--forclassifyingwidecharacters

Finally,inthisimplementation,theStandardC++libraryalsoincludesseveralheadersforcompatibilitywithtraditionalC++libraries:

--fordefiningseveraliostreamstemplateclassesthatmanipulateexteralfiles

--fordeclaringseveraliostreamsmanipulatorsthattakeanargument

--fordeclaringtheiostreamsobjectsthatmanipulatethestandardstreams

--fordeclaringseveralfunctionsthatallocateandfreestorage

--fordeclaringseveraltemplateclassesthataidmigrationfromolderversions

oftheStandardTemplateLibrary

//////////////////////////////////////////////////////////////////////////

标准C++ (同上的不再注释)

#include   //STL通用算法

#include 

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 求职职场 > 简历

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1