-
JHGJGHJGFJG
题目:取一个整数a从右端开始的4~7位。
程序分析:可以这样考虑:
(1)先使a右移4位。
(2)设置一个低4位全为1,其余全为0的数。可用~(~0<<4)
(3)将上面二者进行&运算。
2.程序源代码:(Topic: take an integer a from the right end of the four to seven began.
Program analysis: it can be to consider:
(1) to make a move to the right four.
(2) sets a low four total for the 1, all the rest for 0 of the number. Can be used to (~ 0 < < 4)
(3) will above the difference and operations.
2. The source code:)
- 2012-05-26 20:20:03下载
- 积分:1
-
telephone-management
c语言编写的电话簿管理系统,含可运行的程序,可参考《C语言程序设计案例精编》(c language phone book management system, including operable program, refer to " C Programming Language design case for fine" )
- 2011-11-22 21:10:55下载
- 积分:1
-
shangchuanchengxu3
用指向指针的指针的方法对5个字符串排序并输出。(With a pointer to a pointer to a string sort method 5 and the output.)
- 2011-10-20 13:33:32下载
- 积分:1
-
trim
solidworks 二次开发 圆角命令的使用(Secondary Development Category)
- 2019-06-11 08:40:47下载
- 积分:1
-
ArpSender
一个抓包小工具,获取网络上面其它装置之间通讯报文(a tool that get a net reports between other equipments)
- 2015-05-07 16:34:05下载
- 积分:1
-
longzoro-8.0-code-for-win
Longzoro code for win 8.0
- 2020-08-25 23:58:15下载
- 积分:1
-
SMYAOJ14
实现三维对象的平移,旋转变换,以及投影变换,不错的(Realize 3 d object of translation, rotation transformation and projection transformation, good)
- 2017-05-07 15:52:59下载
- 积分:1
-
ILOVEYOU
随意写的小程序,可在屏幕上显示星号表示的I LOVE YOU 有点小瑕疵 请多谅解啊 呵呵(Random write small programs can be displayed on the screen asterisk indicates the I LOVE YOU have a small flaw like him to understand ah Hehe)
- 2009-10-25 18:55:16下载
- 积分:1
-
blackhole2013-ns234-patch
about installing ns2 in windows
- 2014-06-07 21:58:13下载
- 积分:1
-
udp
利用socket技术,实现了局域网之间的通信,两个客户端之间可以相互聊天(Socket technology, communication between the LAN between the two clients can chat with each other.
)
- 2012-05-06 09:10:59下载
- 积分:1