CC++常⽤头⽂件及函数汇总C/C++头⽂件⼀览

C

#include <assert.h>    //设定插⼊点

#include <ctype.h>     //字符处理

#include <errno.h>     //定义错误码

#include <float.h>     //浮点数处理

#include <iso646.h> //对应各种运算符的宏

#include <limits.h>    //定义各种数据类型最值的常量

#include <locale.h>    //定义本地化C函数

#include <math.h>     //定义数学函数

#include <setjmp.h> //异常处理⽀持

#include <signal.h> //信号机制⽀持

#include <stdarg.h> //不定参数列表⽀持

#include <stddef.h> //常⽤常量

#include <stdio.h>     //定义输⼊/输出函数

#include <stdlib.h>    //定义杂项函数及内存分配函数

#include <string.h>    //字符串处理

#include <time.h>     //定义关于时间的函数

#include <wchar.h>     //宽字符处理及输⼊/输出

#include <wctype.h>    //宽字符分类

传统C++

#include <fstream.h>    //改⽤<fstream>

#include <iomanip.h>    //改⽤<iomainip>

#include <iostream.h>   //改⽤<iostream>

#include <strstrea.h>   //该类不再⽀持,改⽤<sstream>中的stringstream ————————————————————————————————

标准C++ 

#include <algorithm>    //STL 通⽤算法

#include <bitset>     //STL 位集容器

#include <cctype> //字符处理

#include <cerrno>      //定义错误码

#include <cfloat>     //浮点数处理

#include <ciso646> //对应各种运算符的宏

#include <climits>     //定义各种数据类型最值的常量

#include <clocale>     //定义本地化函数

#include <cmath>      //定义数学函数

#include <complex>     //复数类

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值