在编制键盘输入程序时常常要用到一个键的扫描码或ASC码,如用到 Foxpro 的 inkey() 函数,以及用到 BIOS 的 INT 16H时,但找一个编码表不太容易,有时候找到的编码表又不全,无法查到组合键的编码,本程序就是一个随时用来显示按键的ASC码及扫描码的程序,可以用 16 进制和 10 进制同时显示一个键按下和放开的扫描码,以及ASC码,同样也支持组合键。
上传时间: 2016-09-21
上传用户:钓鳌牧马
读取配置文件(ini格式)的程序,可返回int,char*,float类型等的配置项数值。
上传时间: 2016-10-02
上传用户:as275944189
用prim算法实验最小生成树 本程序中用到函数adjg( ),此函数作用是通过接受输入的点数和边数,建立无向图。函数prg( )用于计算并输出无向图的邻接矩阵。函数prim( )则用PRIM算法来寻找无向图的最小生成树 定义了两个数组lowcost[max],closest[max],若顶点k加入U中,则令lowcost[k]=0。 定义二维数组g[ ][ ]来建立无向图的邻接矩阵。
上传时间: 2016-10-07
上传用户:tonyshao
// -*- Mode: Verilog -*- // Filename : wb_master.v // Description : Wishbone Master Behavorial // Author : Winefred Washington // Created On : 2002 12 24 // Last Modified By: . // Last Modified On: . // Update Count : 0 // Status : Unknown, Use with caution! // Description Specification // General Description: 8, 16, 32-bit WISHBONE Master // Supported cycles: MASTER, READ/WRITE // MASTER, BLOCK READ/WRITE // MASTER, RMW // Data port, size: 8, 16, 32-bit // Data port, granularity 8-bit // Data port, Max. operand size 32-bit // Data transfer ordering: little endian // Data transfer sequencing: undefined
标签: Description Behavorial wb_master Filename
上传时间: 2014-07-11
上传用户:zhanditian
The Inter IC bus or I2C bus is a simple bidirectional two wire bus designed primarily for general control and data transfer communication between ICs. Some of the features of the I2C bus are: • Two signal lines, a serial data line (SDA) and a serial clock line (SCL), and ground are required. A 12V supply line (500mA max.) for powering the peripherals often may be present. • Each device connected to the bus is software addressable by a unique address and simple master/ slave relationships exist at all times masters can operate as master-transmitters or as master-receivers. • The I2C bus is a true multi-master bus including collision detection and arbitration to prevent data corruption if two or more masters simultaneously initiate data transfer systems. • Serial, 8-bit oriented, bidirectional data transfers can be made at up to 100 KBit/s in the standard mode or up to 400 KBit/s in the fast mode.
标签: bus bidirectional primarily designed
上传时间: 2013-12-11
上传用户:jeffery
C/C++Compiler Suite 2.1 for converting MATLAB applications that contain math, GUIs, and graphics into freely distributable stand-alone C and C++ code
标签: applications converting Compiler graphics
上传时间: 2013-12-18
上传用户:498732662
To find and output 11-999 between the number of m, it is to meet m, m2 and m3 are several palindrome. The so-called palindrome refers to the number of its symmetrical figures that the whole number, for example, 121,676,94249 and so on. To meet the above requirements, such as the number of m = 11, m2 = 121, m3 = 1331 palindrome are few. Please prepare function int svalue (long m) to achieve this function, if it is palindrome, is a function to return, while return 0.
标签: palindrome and between several
上传时间: 2013-12-27
上传用户:二驱蚊器
采用Altera公司的FPGA芯片,在MAX+plus II软件平台上实现多路HDLC电路
上传时间: 2016-11-13
上传用户:zhyiroy
基于N进制的多精度问题 本代码可以处理N进制的多精度四则运算。 输入格式: 全是正数,string(或int)格式,请参见函数原型!开头不要有多余的零!
上传时间: 2016-11-15
上传用户:钓鳌牧马
基于STL string的高精度计算 支持以string类为存放格式的整数的多精度运算(包括+、-、*、/(整除)、%(取余)、-(取负)、乘方、开平方),部分允许string式的“整型”与int型混合运算,支持正负号,结果一律用string 型存放(多精度对单精度取余(用int)除外!)
上传时间: 2013-12-28
上传用户:黄华强