C++的常用头文件有哪些?分别是什么用途?

来源:百度知道 编辑:UC知道 时间:2024/05/26 03:26:59

stdio.h 基础的输入输出库
string.h 字符串操作和存储操作的一些库函数
conio.h 调用DOS控制台I/O例行程序所用的各种函数
stdlib.h 公用的程序,转换子程序,查找排序子程序及其它
math.h 数学库使用的各种定义
ctype.h 字符分类和字符转换宏

#include //异常处理类
#include
#include //STL 定义运算函数(代替运算符)
#include
#include //STL 线性列表容器
#include //STL 映射容器
#include
#include //基本输入/输出支持
#include //输入/输出系统使用的前置声明
#include
#include //基本输入流
#include //基本输出流
#include //STL 队列容器
#include //STL 集合容器
#include //基于字符串的流
#include //STL 堆栈容器
#include //标准异常类
#include //底层输入/输出支持
#include //字符串类
#include //STL 通用模板类
#include //STL 动态数组容器
#include
#include
using namespace std;
//////////////////////////////////////////////////////////////////////////
C99 增加
#include //复数处理
#include //浮点环境
#include //整数格