Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Binary 二进制表示-C+中的转换+; a=13; 对于(b=8∗ sizeof(内部)−1、 b>=0;b−−) cout_Binary_Numbers - Fatal编程技术网

Binary 二进制表示-C+中的转换+; a=13; 对于(b=8∗ sizeof(内部)−1、 b>=0;b−−) cout

Binary 二进制表示-C+中的转换+; a=13; 对于(b=8∗ sizeof(内部)−1、 b>=0;b−−) cout,binary,numbers,Binary,Numbers,(a&(1U 0如果检查通过,则返回1;如果检查未通过,则返回0)。此结果由cout&对两个整数和1U执行按位and运算 a = 13; for (b = 8∗ sizeof(int)−1; b >= 0; b−−) cout << ( (a & (1U << b)) > 0 );

(a&(1U 0
如果检查通过,则返回1;如果检查未通过,则返回0)。此结果由
cout
&
对两个整数和
1U执行按位and运算
a = 13;
for (b = 8∗ sizeof(int)−1; b >= 0; b−−)
    cout << ( (a & (1U << b)) > 0 );