-
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
-
osgDotNet-x86-2.0.0-0.8.1
osgsdk 在C#下的开发环境 osg 2.0(osg C# development environment. . . . . . . . . . . . . . . . . . . . . . . . . .)
- 2011-10-11 11:28:26下载
- 积分:1
-
8051_TFT_9230
8051单片机的2.8寸彩屏9230的驱动程序,亲自测试可用(9230 the driver of the 8051 2.8-inch color screen, personally testing available)
- 2012-04-16 21:02:46下载
- 积分:1
-
shadingScene
说明: 能够显示旋转3D模型的openGL程序,鼠标拖动可以旋转。(OpenGL Program for Displaying Rotating 3D Models)
- 2019-05-11 10:53:10下载
- 积分:1
-
Particle-swarm-optimization-(pso)
粒子群算法,用于无线传感器网络节点动态部署(Particle swarm algorithm for dynamic deployment of wireless sensor nodes)
- 2016-01-16 10:32:24下载
- 积分:1
-
QtSocket
qt实现的网络客户服务端,就是个demon,一个非常有用简单的例子(Qt to implement the network customer service, is a demon, a very simple example)
- 2020-11-24 16:09:33下载
- 积分:1
-
DBGRID-call-SQL-database
基于C语言的使用DBGRID控件实现的SQL数据库管理程序,方便灵活(C-based controls to achieve using DBGRID SQL database management procedures, convenient and flexible)
- 2013-07-13 21:30:03下载
- 积分:1
-
50-c--c-P-P-source-code-site
搜集的50个c/c++源代码网站,资源丰富(Collected 50 c/c++ source code site, rich in natural resources)
- 2012-04-22 11:49:24下载
- 积分:1
-
(ebook---pdf)-Addison-Wesley---Extreme-Programmin
First, XP is a programming discipline. We’ll look at a core innovation:
how “test-first” changes the programming process itself.
We’ll also discuss refactoring, the way XP programmers improve
their code.
Second, XP is a team discipline. It has evolved a number of
practices that help produce a high-performing team. We’ll compare
XP to alternative practices, and see some of them in action.
- 2013-03-25 22:32:56下载
- 积分:1
-
vc_assist
VC串口调试助手源代码,很不错的例子,非常适合初学者使用!!(VC serial debugging aides source code, it is a good example, very suitable for beginners! !)
- 2011-10-21 10:05:30下载
- 积分:1