-
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
-
24point-for-C
算24的C语言控制台程序,VC6编译完成后运行可执行文件,可以选择开始游戏,查看游戏规则或者退出游戏3个选项(Calculate 24 games)
- 2014-02-07 16:08:41下载
- 积分:1
-
实验七
说明: 单片机at89c52芯片,计数器实验,keil写代码(MCU AT89c52 chip, counter experiment, Keil write code)
- 2020-06-18 13:20:01下载
- 积分:1
-
本人写的一个网络唤醒程序,用于从一台机通网络唤醒程序由网络启动另一台机(被唤醒机器需要网卡支持,一盘主板自带的网卡都支持)
使用时要填上被唤醒机的MAC地址...
本人写的一个网络唤醒程序,用于从一台机通网络唤醒程序由网络启动另一台机(被唤醒机器需要网卡支持,一盘主板自带的网卡都支持)
使用时要填上被唤醒机的MAC地址。-I was awakened by a network procedures, for the company from a Network awakening process initiated by the network to another machine (machine needs to be awakened and LAN support. a motherboard has onboard LAN support) to use when filling machine was awakened MAC address.
- 2022-07-23 04:03:12下载
- 积分:1
-
C-CPP-header-file
C-C++头文件一览是学习C/C++语言必要的资料,可以了解一些头文件的主要内容。(C-C++ header file list is to learn C/C++ language, the information necessary to understand some of the main contents of the header files.)
- 2011-11-13 15:16:45下载
- 积分:1
-
pHONEsYSTEMbAR
Phone System Bar extends Custom Bar Source Code for Andriod.
- 2013-12-30 19:11:36下载
- 积分:1
-
ServoControl
舵机的相关原理及用PWM控制舵机的原理和方法。(Relevant principles and the principles and methods of steering control with PWM steering.)
- 2013-11-25 09:57:30下载
- 积分:1
-
colorbar
丰富matlab colorbar的颜色(enrich color of the matlab colorbar)
- 2017-12-05 21:14:11下载
- 积分:1
-
IAR使用教程
IAR Embedded Workbench for ARM使用教程(IAR Embedded Workbench for ARM Use Tutorial)
- 2019-04-26 10:59:37下载
- 积分:1
-
GUIAlignment
Text box validation for validation of numbers, symbols, etc.
- 2020-06-24 05:40:02下载
- 积分:1