博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
C++中 <iso646.h>头文件
阅读量:4322 次
发布时间:2019-06-06

本文共 397 字,大约阅读时间需要 1 分钟。

1 #include
2 #include
3 using namespace std;4 int main(){5 int i = 5,j = 6,k=7;6 if(i

iso646.h  头文件中包含许多宏定义

#define and &&

#define and_eq &=
#define bitand &
#define bitor |
#define compl ~
#define not !
#define not_eq !=
#define or ||
#define or_eq |=
#define xor ^
#define xor_eq ^=

 

所以可以使用一些英文单词来表示逻辑符。

转载于:https://www.cnblogs.com/teng-IT/p/5974025.html

你可能感兴趣的文章
优秀博客
查看>>
词法分析程序
查看>>
Java反射
查看>>
[ACM_模拟][ACM_数学] LA 2995 Image Is Everything [由6个视图计算立方体最大体积]
查看>>
1040 有几个PAT
查看>>
BZOJ 1412 [ZJOI2009]狼和羊的故事 | 网络流
查看>>
原型模式
查看>>
Hadoop RPC源码阅读-交互协议
查看>>
WASAPI、DirectSound/DS、WaveOut、Kernel Streaming/KS
查看>>
Perl按行分割文件
查看>>
根据现有表操作基于active record的model
查看>>
NotMapped属性特性
查看>>
Count and Say
查看>>
GridView数据导入Excel/Excel数据读入GridView
查看>>
566. Reshape the Matrix
查看>>
python数据结构与算法之搜索
查看>>
(最小点覆盖) poj 2226
查看>>
(树形DP) poj 3659
查看>>
获取类的属性名和值
查看>>
python对json的操作总结
查看>>