如何在C 语言中使用按位运算符多次使用两个整数。请尽早回复
How to mulitply two integer numbers using bitwise operators in C language.Please reply as early as possible
推荐答案< SA ********* @ yahoo>写道: <sa*********@yahoo> wrote : 如何使用C语言中的按位运算符多次使用两个整数。请尽早回复 How to mulitply two integer numbers using bitwise operators in C language.Please reply as early as possible
模拟你在小学 学校学习十进制数的方法。
Emulate the way you learned to do it for decimal numbers in elementary school.
sa ********* @ yahoo 写道: 如何使用按位顺序多个两个整数C语言的操作员。请尽早回复 How to mulitply two integer numbers using bitwise operators in C language.Please reply as early as possible
你知道如何总结它们,对吧?好吧看看这个: 3 * 4 == 3 + 3 + 3 + 3 3 * 4 == 4 + 4 + 4
You do know how to sum them, right? Well check this out: 3*4 == 3+3+3+3 3*4 == 4+4+4
On Sun,2003年9月21日14:03:51 GMT,Aggro< sp ********** @ yahoo。 com> 写道: On Sun, 21 Sep 2003 14:03:51 GMT, Aggro <sp**********@yahoo> wrote: sa ********* @ yahoo写道: sa*********@yahoo wrote: 如何多个使用C语言中的按位运算符的两个整数。请尽早回复 How to mulitply two integer numbers using bitwise operators in C language.Please reply as early as possible
你知道如何总结它们,对吗?好吧看看这个: 3 * 4 == 3 + 3 + 3 + 3 3 * 4 == 4 + 4 + 4
You do know how to sum them, right? Well check this out:3*4 == 3+3+3+33*4 == 4+4+4
嗯,这很容易。但是+不是一个按位运算符。 仅使用按位运算符添加是这个问题的难点。 这个问题。 尼克。
Well that''s the easy bit. However + is not a bitwise operator. Adding using only the bitwise operators is the hard bit of this problem. Nick.
更多推荐
如何使用按位运算符乘以两个整数
发布评论