C标准库列表#
(此处来自zh.cppreference.com)
头文件名 | 功能 |
---|---|
<assert.h> | 条件编译宏,将参数与零比较 |
<complex.h> | (C99) 复数运算 |
<ctype.h> | 用来确定包含于字符数据中的类型的函数 |
<errno.h> | 报告错误条件的宏 |
<fenv.h> | (C99) 浮点环境 |
<float.h> | 浮点类型的极限 |
<inttypes.h> | (C99) 整数类型的格式转换 |
<iso646.h> | (C95) 运算符的替代写法 |
<limits.h> | 整数类型的范围 |
<locale.h> | 本地化工具 |
<math.h> | 常用数学函数 |
<setjmp.h> | 非局部跳转 |
<signal.h> | 信号处理 |
<stdalign.h> | (C11) alignas 与 alignof 便利宏 |
<stdarg.h> | 可变参数 |
<stdatomic.h> | (C11) 原子类型 |
<stdbool.h> | (C99) 布尔类型的宏 |
<stddef.h> | 常用宏定义 |
<stdint.h> | (C99) 定宽整数类型 |
<stdio.h> | 输入/输出 |
<stdlib.h> | 基础工具:内存管理、程序工具、字符串转换、随机数、算法 |
<stdnoreturn.h> | (C11) noreturn 便利宏 |
<string.h> | 字符串处理 |
<tgmath.h> | (C99) 泛型数学(包装 math.h 和 complex.h 的宏) |
<threads.h> | (C11) 线程库 |
<time.h> | 时间/日期工具 |
<uchar.h> | (C11) UTF-16 和 UTF-32 字符工具 |
<wchar.h> | (C95) 扩展多字节和宽字符工具 |
<wctype.h> | (C95) 用来确定包含于宽字符数据中的类型的函数 |