c++操作符及其优先级
来源:互联网 发布:网络拓扑结构概念 编辑:程序博客网 时间:2024/06/11 20:12
http://www.cplusplus.com/doc/tutorial/operators/
::
scope qualifierLeft-to-right2Postfix (unary)++ --
postfix increment / decrementLeft-to-right()
functional forms[]
subscript. ->
member access3Prefix (unary)++ --
prefix increment / decrementRight-to-left~ !
bitwise NOT / logical NOT+ -
unary prefix& *
reference / dereferencenew delete
allocation / deallocationsizeof
parameter pack(type)
C-style type-casting4Pointer-to-member.* ->*
access pointerLeft-to-right5Arithmetic: scaling* / %
multiply, divide, moduloLeft-to-right6Arithmetic: addition+ -
addition, subtractionLeft-to-right7Bitwise shift<< >>
shift left, shift rightLeft-to-right8Relational< > <= >=
comparison operatorsLeft-to-right9Equality== !=
equality / inequalityLeft-to-right10And&
bitwise ANDLeft-to-right11Exclusive or^
bitwise XORLeft-to-right12Inclusive or|
bitwise ORLeft-to-right13Conjunction&&
logical ANDLeft-to-right14Disjunction||
logical ORLeft-to-right15Assignment-level expressions= *= /= %= += -=
>>= <<= &= ^= |=
assignment / compound assignmentRight-to-left?:
conditional operator16Sequencing,
comma separatorLeft-to-right 0 0
- c/c++操作符优先级及其结合性
- c++操作符及其优先级
- 各种操作符及其优先级
- C操作符优先级
- c操作符优先级
- C语言中的运算符及其优先级
- C语言中的运算符及其优先级
- C语言中的运算符及其优先级
- c 中运算符详解及其优先级
- c语言的运算符及其优先级
- C语言中的运算符及其优先级
- C语言中的运算符及其优先级
- C/C++运算符及其优先级
- C语言中运算符及其优先级
- C操作符优先级表
- C语言操作符优先级
- C语言操作符优先级
- C语言操作符优先级
- 《老罗Android第二季》wifi、Intent传递自定义对象
- OS X 平台的 8 个终端实用工具
- C#中的线程(一)入门
- 【Sqlserver】如何识别SQL Server中的IO瓶颈
- 机房收费系统 Part Six——MSFlexGrid控件总结
- c++操作符及其优先级
- 标签机的使用
- cloud foundry的组件
- ffmpeg x264 linux
- 关于巴拿赫-塔斯基分球定理的研究
- getchar()与getch(){isatty(),tcgetattr(),tcsetattr()}
- Windows下搭建PHP开发环境
- apacheFtpServer集成spring由web容器控制启动和关闭
- 代理模式--学习笔记