打印出一个数的二进制码

1、power方法:

2、左移方法

3、右移方法:

判断某位是否为1,用与。

猜你喜欢

转载自www.cnblogs.com/wxl845235800/p/10515122.html