在編制鍵盤輸入程序時常常要用到一個鍵的掃描碼或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
上傳用戶:黃華強