-
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
-
CMisFpCurd
farpoint控件进行了二次封装,能够快速的帮助进行farpoint操作(The farpoint control is encapsulated twice, which can help the farpoint operation quickly.)
- 2019-04-26 11:43:18下载
- 积分:1
-
CNCSoft1.2
数控系统的非实时插补算法,包含数控系统的粗插补,动态链接库,刀具组件等(It is a numerical control system of the real-time interpolation algorithm, including the coarse interpolation of nc system, dynamic link library, cutting tool components)
- 2015-11-07 00:57:27下载
- 积分:1
-
663705
说明: Produce a real random number 产生真正的随机数(Produce a real random number produces real random numbers)
- 2018-12-26 07:58:01下载
- 积分:1
-
eight_office
VC++2005编程实例源代码\第8章 Office自动化编程实例,包括14个实例:如何使用VC++动态创建播放幻灯片,如何直接播放幻灯片文件如何使用自动化运行Word宏,如何使用自动化导出Word文件, 如何使用自动化导出Excel文件、Excel图表、Excel工具栏、Excel查询表(VC++ 2005 source code programming examples in Chapter 8 Office automation programming examples, including the 14 examples: how to use VC++ Dynamic slide show created, how to direct the slideshow document how to use automation to run Word macro, how the use of automation to export Word documents, how to use automation to export Excel documents, Excel charts, Excel toolbar, Excel query table)
- 2008-12-22 14:01:19下载
- 积分:1
-
btc
BCB程序实例, 向窗体发送快捷键信息.组合键。。。。。(send hotkey message to windows form)
- 2013-05-02 09:29:44下载
- 积分:1
-
765476
改变对话框的背景颜色,VC++精选编程学习源码,很好的参考资料。(Dialog box to change the background color, VC++ select learning programming source code, a good reference.)
- 2013-12-01 22:03:08下载
- 积分:1
-
683634
会发声的按钮,VC++经典编程源码,很好的参考资料。(Will sound button, VC++ classic programming source code, a good reference.)
- 2013-11-14 10:22:27下载
- 积分:1
-
tongxunlu
通讯录系统,简单的对通讯录进行编程,可实现文件的输出(Address book system, easy to program to the address book, documents can be output)
- 2009-04-06 11:34:33下载
- 积分:1
-
CE-exam
VC 经典案例 30例子 已经使用 华为等机考(VC classic case 30 examples have been used)
- 2013-11-02 10:00:18下载
- 积分:1