C++主要头文件一、C++传统头文件#includeassert.h//设定插入点#includectype.h//字符处理#includeerrno.h//定义错误码#includefloat.h//浮点数处理#includefstream.h//文件输入/输出#includeiomanip.h//参数化输入/输出#includeiostream.h//数据流输入/输出#includelimits.h//定义各种数据类型最值常量#includelocale.h//定义本地化函数#includemath.h//定义数学函数#includestdio.h//定义输入/输出函数#includestdlib.h//定义杂项函数及内存分配函数#includestring.h//字符串处理#includestrstrea.h//基于数组的输入/输出#includetime.h//定义关于时间的函数#includewchar.h//宽字符处理及输入/输出#includewctype.h//宽字符分类二、c++标准头文件(以上重复不在叙述)#includealgorithm//STL通用算法#includebitset//STL位集容器#includecctype#includecerrno#includeclocale#includecmath#includecomplex//复数类#includecstdio//输入输出控制符(gets(),puts())#includecstdlib#includecstring#includectime#includedeque//STL双端队列容器#includeexception//异常处理类#includefstream#includefunctional//STL定义运算函数(代替运算符)#includelimits#includelist//STL线性列表容器#includemap//STL映射容器#includeiomanip#includeios//基本输入/输出支持#includeiosfwd//输入/输出系统使用的前置声明#includeiostream#includeistream//基本输入流#includeostream//基本输出流#includequeue//STL队列容器#includeset//STL集合容器#includesstream//基于字符串的流#includestack//STL堆栈容器#includestdexcept//标准异常类#includestreambuf//底层输入/输出支持#includestring//字符串类#includeutility//STL通用模板类#includevector//STL动态数组容器#includecwchar#includecwctypeusingnamespacestd