| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 714 人关注过本帖
标题:[求助]关于一些运算符的意义
只看楼主 加入收藏
ljhwahaha
Rank: 1
等 级:新手上路
帖 子:28
专家分:0
注 册:2007-3-13
收藏
 问题点数:0 回复次数:1 
[求助]关于一些运算符的意义

想问一下下面这些运算符分别代表什么呢??虽然在MSDN里都能查到,但由于是英文所以看不明,谢谢了`
<<=
Shift the value of the first operand left the number of bits specified by the value of the second operand; store the result in the object specified by the first operand.

>>=
Shift the value of the first operand right the number of bits specified by the value of the second operand; store the result in the object specified by the first operand.

&=
Obtain the bitwise AND of the first and second operands; store the result in the object specified by the first operand.

^=
Obtain the bitwise exclusive OR of the first and second operands; store the result in the object specified by the first operand.

|=

Obtain the bitwise inclusive OR of the first and second operands; store the result in the object specified by the first operand.

搜索更多相关主题的帖子: 运算符 operand value first specified 
2007-04-11 23:41
aipb2007
Rank: 8Rank: 8
来 自:CQU
等 级:贵宾
威 望:40
帖 子:2879
专家分:7
注 册:2007-3-18
收藏
得分:0 
都是复合运算符号。 operator=就跟+=含义一样,这个该明白吧!

<< 左移位操作符
>> 右移位操作符

& 与操作符
^ 异或操作符
| 或操作符


都是针对2进制数集的!

Fight  to win  or  die...
2007-04-12 10:48
快速回复:[求助]关于一些运算符的意义
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.020932 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved