-
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
-
MessageHook
可捕获系统消息,功能简单实用,是初学hook的理想资料(System can capture news, features simple, practical, is the ideal beginner hook information)
- 2009-06-06 20:27:44下载
- 积分:1
-
medo
设X[ 0 : n - 1]和Y[ 0 : n – 1 ]为两个数组,每个数组中含有n个已排好序的数。找出X和Y的2n个数的中位数。 编程任务 利用分治策略试设计一个O (log n)时间的算法求出这2n个数的中位数。 数据输入 由文件input.txt提供输入数据。文件的第1行中有1个正整数n(n<=200),表示每个数组有n个数。接下来的两行分别是X,Y数组的元素。结果输出 程序运行结束时,将计算出的中位数输出到文件output.txt中(Let X [0: n- 1] and Y [0: n- 1] for the two arrays, each array containing the n number has been sorted. 2n X and Y to identify the number of digits. programming tasks using the divide and conquer strategy try to design an O (log n) time algorithm to calculate this median number 2n. Data input by the input data provided input.txt file. The first line in the file has a positive integer n (n < = 200), that there are n numbers of each array. The next two lines are the X, Y array elements. The end result is output program runs, the calculated median output to file output.txt)
- 2021-03-22 16:29:16下载
- 积分:1
-
SHOWALLPROCESS_OWN
自编进程查看管理器,visual c++课程设计,visual c++小制作(Self Process View Manager, visual c++ curriculum design, visual c++ small production)
- 2013-12-22 13:15:58下载
- 积分:1
-
UNICODE_GBK
使用windows api将字符在Unicode编码和GBK编码之间相互转换的示例程序(convert between unicode and gbk)
- 2012-04-26 21:39:52下载
- 积分:1
-
banking-system
The uploaded source code is a window based application for developing "Banking System" using Visual basic as front end and MS-Excel as back end.
This project is an implementation of simple tasks that occur during transactions in a bank.
Since it is in visual basic, it is very simple to understand.
- 2014-01-23 16:10:30下载
- 积分:1
-
pvb-gambardbxxxx
save picture webcam to computer
- 2014-02-05 11:23:41下载
- 积分:1
-
392440Youngs-VOF
使用VOF进行液-液两相流的界面追踪,非常使用,强烈推荐(For liquid- liquid two phase flow using VOF interface tracking
)
- 2021-01-19 23:08:43下载
- 积分:1
-
comm
一个很好用的通用串口通讯类,含例程,在VC下可执行(With a good general-purpose serial communications, including routines, under the executable in VC)
- 2008-08-23 12:48:30下载
- 积分:1
-
chip-motor-control
电机的单片机控制是一本很好的书,现在的电机主要靠电力电子的技术对其控制,而单片机的控制使其更加的智能化。(Motor SCM control is a very good book, now the motor depends mainly on the power electronic technology on the control of MCU control, and make it more intelligent.
)
- 2012-01-10 10:59:55下载
- 积分:1