The program SPLAY is a pascal to C translation of a program that Kim Kokkonen wrote in Turbo Pascal to implement Splay Trees. This program compresses and decompresses files, and does a pretty good job of it. Contents: SPLAY.PAS Original TP source code SPLAY.C Translation of code to C SPLAY.EXE Compiled version of SPLAY.C (small model) README.DOC You are looking at it Read the comments at the beginning of SPLAY.C for more info.
標簽: program translation Kokkonen pascal
上傳時間: 2015-05-05
上傳用戶:rocwangdp
用CY7C63723設計的鼠標固件程序 chip.c - include file that defines CY7C63723 constants - combi.c - main source file - combi.hex - Intel hex file for programming a CY7C63723 microcontroller - combi.lst - output listing from c-compiler for use with the CYDB debugger - macros.h - defines macros used in combi.c - ps2defs.h - defines PS/2 interface constants - usb_desc.h - defines the USB descriptors - usbdefs.h - defines USB interface constants
標簽: C63723 63723 CY7 constants
上傳時間: 2014-02-15
上傳用戶:aappkkee
The LT® 1529/LT1529-3.3/LT1529-5 are 3A low dropout regulators with micropower quiescent current and shutdown. The devices are capable of supplying 3A of output current with a dropout voltage of 0.6V. Designed for use in battery-powered systems, the low quiescent current, 50mA operating and 16mA in shutdown, make them an ideal choice. The quiescent current is well controlled it does not rise in dropout as it does with many other low dropout PNP regulators.
標簽: 1529 micropower regulators quiescent
上傳時間: 2013-12-17
上傳用戶:qiao8960
ARM下 Implement matrix multiplication of 2 square matrices, with data read from an input file and printed both to the console and to an output file. • Assume a file with correct data (no garbage, characters, etc.). • you must check and provide appropriate execution for 2 extra cases, namely when the matrix size given is either “0” , or when the size is greater than the maximum handled of “5” . In these 2 cases you must implement the following behaviour: o If size = 0, then print a message “Size = 0 is unacceptable” and continue by reading the next size for the next 2 matrices (if not end of file). o If size >5, then print two messages: “Size is too big - unacceptable”. Then read and discard the next (size2 ) integers and continue by reading the next size for the next 2 matrices (if not end of file).
標簽: multiplication Implement matrices matrix
上傳時間: 2014-08-30
上傳用戶:dsgkjgkjg
簡單混合衰落信道 This mfile inputs an unmodulated sinewave through a simple Rayleigh two path fading channel and shows the output with phase, gain, and attenuation characteristics via animation.
標簽: unmodulated Rayleigh sinewave through
上傳時間: 2015-05-17
上傳用戶:CSUSheep
數字運算,判斷一個數是否接近素數 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no
上傳時間: 2015-05-21
上傳用戶:daguda
這個例子如果運行,將在仿真的PC窗口中的第1,2,3行顯示一些信息后,在隨機位置顯示 1 ~ 5 .由于keil c51默認不支持重入函數,它的重入函數使用仿真的重入棧而不使用系統棧,而Small RTOS 51沒有進行重入棧管理,所以在TaskA~TaskE雖然及其相似,但不能合并. 注意:(1)在KEIL C51 工程中,我已經把輸出文件目錄設在e:\temp中,您可以在Project->Options for Target "Target 1"的output頁點擊Select Folder for Objects...和Listing頁點擊Select Folder for Listing...改變. (2)編譯時會有5個警告,其中一個是因為沒有使用一個系統函數OSSendSignal引起,它可以忽略.另4個是禁止任務間變量覆蓋分析引起,必須忽略.感謝網友John X. Liu,在這個例子中我使用了他編寫的仿真(dllPc51Emu.dll),這個dll原來是為他移植的Ucos-ii for keil c51的例子編寫. (3)Pc51Emu.dll在KEIL C51 V6.23 V7.00工作不正常.
上傳時間: 2015-05-29
上傳用戶:無聊來刷下
這個例子是例子2的另一種寫法(但任務數量不同),它使用了最高優先級任務作為顯示任務,全局變量ShowChar作為參數.函數TaskB是優先級1~10的任務函數,因為沒有使用局部變量,這些任務可以用一個函數. 注意:(1)在KEIL C51 工程中,我已經把輸出文件目錄設在e:\temp中,您可以在Project->Options for Target "Target 1"的output頁點擊Select Folder for Objects...和Listing頁點擊Select Folder for Listing...改變. 感謝網友John X. Liu,在這個例子中我使用了他編寫的仿真dll(Pc51Emu.dll),這個dll原來是為他移植的Ucos-ii for keil c51的例子編寫. (2)Pc51Emu.dll在KEIL C51 V6.23 V7.00工作不正常.
上傳時間: 2015-05-29
上傳用戶:asddsd
程序名稱: 北雨求職招聘系統V2.0.10 軟件類別: JSP源碼 / 人才交友 軟件語言: 簡體中文 授權方式: 免費版 系統平臺: JSP+MYSQL 程序下載: http://lfbay.com/job.rar程序演示: http://www.lfbay.comhttp://www.lfbay.com 官方網址: http://lfbay.com/ 介紹: 適合大中型人才網或門戶網站的人才頻道均可,速度快,安全好,功能多! 安裝方法: 1把所有文件上傳至服務器 2運行setup/index.jsp按提示安裝即可
上傳時間: 2013-12-18
上傳用戶:ghostparker
2^x mod n = 1 acm競賽題 Give a number n, find the minimum x that satisfies 2^x mod n = 1. Input One positive integer on each line, the value of n. Output If the minimum x exists, print a line with 2^x mod n = 1. Print 2^? mod n = 1 otherwise. You should replace x and n with specific numbers. Sample Input 2 5 Sample Output 2^? mod 2 = 1 2^4 mod 5 = 1
標簽: mod satisfies minimum number
上傳時間: 2015-06-02
上傳用戶:qlpqlq