• C 语言教程
  • 标准库
  • iso646.h

inttypes.h

limits.h

iso646.h

iso646.h 头文件指定了一些常见运算符的替代拼写。比如,它用关键字 and 代替逻辑运算符 && 。

if (x > 6 and x < 12)
// 等同于
if (x > 6 && x < 12)

它定义的替代拼写如下。

  • and 替代 &&
  • and_eq 替代 &=
  • bitand 替代 &
  • bitor 替代 |
  • compl 替代 ~
  • not 替代 !
  • not_eq 替代 !=
  • or 替代 ||
  • or_eq 替代 |=
  • xor 替代 ^
  • xor_eq 替代 ^=

inttypes.h

limits.h

C 语言教程

  • 简介
  • 基本语法
  • 变量
  • 运算符
  • 流程控制
  • 数据类型
  • 指针
  • 函数
  • 数组
  • 字符串
  • 内存管理
  • struct 结构
  • typedef 命令
  • Union 结构
  • Enum 类型
  • 预处理器
  • I/O 函数
  • 文件操作
  • 变量说明符
  • 多文件项目
  • 命令行环境
  • 多字节字符
  • 标准库
    • assert.h
    • ctype.h
    • errno.h
    • float.h
    • inttypes.h
    • iso646.h
    • limits.h
    • locale.h
    • math.h
    • signal.h
    • stdint.h
    • stdlib.h
    • stdio.h
    • string.h
    • time.h
    • wchar.h
    • wctype.h