Topic: 请教一个问题,关于位运算符,谢谢 |
Print this page |
1.请教一个问题,关于位运算符,谢谢 | Copy to clipboard |
Posted by: kkandcc Posted on: 2005-11-12 21:23 eg: 1<<leitpos, 如果leitpos=3 那么得到的2进制数是001000吗? 还有val&&(1<<leitpos) 如果val=011010 这里用&& 可以吗,我觉得应该用& |
2.Re:请教一个问题,关于位运算符,谢谢 [Re: kkandcc] | Copy to clipboard |
Posted by: ranchgirl Posted on: 2005-11-13 02:55 Why don't you put your question in a simple program???? You will get your own answer immediately!!!!!! |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |