社区应用 最新帖子 精华区 社区服务 会员列表 统计排行 社区论坛任务 迷你宠物
  • 4106阅读
  • 0回复

C/C++头文件一览

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
C、传统 C++ _<F)G,=  
V)>?[  
#include <assert.h>    //设定插入点 ;x/eb g  
#include <ctype.h>     //字符处理 Pa{  
#include <errno.h>     //定义错误码 f(Of+>   
#include <float.h>     //浮点数处理 ' 1gfXC  
#include <fstream.h>    //文件输入/输出 N8dxgh!,  
#include <iomanip.h>    //参数化输入/输出 ?l^Xauk4Pj  
#include <iostream.h>   //数据流输入/输出 % ERcFI]G  
#include <limits.h>    //定义各种数据类型最值常量 ;: 2U}p^-  
#include <locale.h>    //定义本地化函数 kY~4AH  
#include <math.h>     //定义数学函数 j/*1zu8Y  
#include <stdio.h>     //定义输入/输出函数 *b. >  
#include <stdlib.h>    //定义杂项函数及内存分配函数 nJ2x;';lA  
#include <string.h>    //字符串处理 '6 F-%  
#include <strstrea.h>   //基于数组的输入/输出 =x\`yxsG  
#include <time.h>     //定义关于时间的函数 7*{f*({  
#include <wchar.h>     //宽字符处理及输入/输出 L!If~6oD(  
#include <wctype.h>    //宽字符分类 ZhA_d#qH  
sjg`4^!wDD  
////////////////////////////////////////////////////////////////////////// | :-i[G?n  
F`QViZ'n>#  
标准 C++ (同上的不再注释) nOGTeKjEJ  
jRS{7rx%MH  
#include <algorithm>    //STL 通用算法 `Zm6e!dH-  
#include <bitset>     //STL 位集容器 1^}I?PbqV  
#include <cctype> ^ U*y*l$  
#include <cerrno> *(?Wzanh  
#include <clocale> Sz go@x$^  
#include <cmath> wwB3m&  
#include <complex>     //复数类 Lz'VQO1U=  
#include <cstdio> *7jz(iX  
#include <cstdlib> 0B]q /G(  
#include <cstring> +y?Ilkk;j  
#include <ctime> Z,.Hz\y1D  
#include <deque>      //STL 双端队列容器 Yg^ &4ZF  
#include <exception>    //异常处理类 Y#ZgrziYM  
#include <fstream> [7FG;}lB-  
#include <functional>   //STL 定义运算函数(代替运算符) \:WWrY8&  
#include <limits> qJrT  
#include <list>      //STL 线性列表容器 c>B1cR  
#include <map>       //STL 映射容器 :x*)o+  
#include <iomanip> T`ibulp  
#include <ios>       //基本输入/输出支持 "0P`=n  
#include <iosfwd>     //输入/输出系统使用的前置声明 20|`jxp  
#include <iostream> \xkKgI/  
#include <istream>     //基本输入流 -Lh7!d  
#include <ostream>     //基本输出流 3N2d V6u  
#include <queue>      //STL 队列容器 ;/j2(O^  
#include <set>       //STL 集合容器 >CqzC8JF  
#include <sstream>     //基于字符串的流 E[]5Od5#  
#include <stack>      //STL 堆栈容器     No'?8+i  
#include <stdexcept>    //标准异常类 ecghY=%  
#include <streambuf>    //底层输入/输出支持 Hsf::K x  
#include <string>     //字符串类 _5jT}I<k  
#include <utility>     //STL 通用模板类 E^axLp>(I  
#include <vector>     //STL 动态数组容器 8Y?M:^f~  
#include <cwchar> >1Z"5F7=  
#include <cwctype> ' rcqy1-&  
v 3I^81  
using namespace std; \!-BR0+y;  
"+F'WCJ-(*  
////////////////////////////////////////////////////////////////////////// y>P+"Z.K%}  
$oK&k}Q  
C99 增加 *|fF;-#v  
+(3_V$|Dv  
#include <complex.h>   //复数处理 ^Co$X+  
#include <fenv.h>    //浮点环境 >X*tMhcb  
#include <inttypes.h>  //整数格式转换 7MKX`S  
#include <stdbool.h>   //布尔环境 KUAzJ[>  
#include <stdint.h>   //整型环境 Q5+1'mzAB  
#include <tgmath.h>   //通用类型数学宏
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八