一個完整的2D滾屏游戲示例,編譯后可以運行玩耍。使用DIRECT DRAW,DIRECT INPUT,DIRECT SOUND;游戲邏輯完整,有記分系統,供喜歡游戲編程的初學者參考切磋。
標簽:
上傳時間: 2013-12-23
上傳用戶:王慶才
http://www.edacn.net/cgi-bin/forums.cgi?forum=7&topic=9127下,則R3~R0的輸出信號中會有一個為1,但我們還是是無法確定哪一個鍵被按下,必須要從R3 ~R0 的輸出信號與C3~C0的掃描信號共同決定那個按鍵被按下. 編寫VHDL的構思: 外部接口包括: a. INPUT腳 : CLK , R3~R0. b. OUTPUT腳 : C3~C0 , DATA3~DATA0(辨別出的按鍵值).
標簽: cgi-bin forums edacn forum
上傳時間: 2015-04-09
上傳用戶:zm7516678
無線仿真Matlab代碼,Matlab scripts to generate INPUT trace files. Changed in January 2005
上傳時間: 2015-04-13
上傳用戶:wkchong
文具倉庫管理系統2.0(源碼)delphi+access main in Main\main.pas {FrmMain}, Login in Login\Login.pas {FrmLogin}, Logo in Login\Logo.pas {FrmLogo}, Global in Share\Global.pas , BaseSetup in BaseSetup\BaseSetup.pas {FrmBaseSetup}, dm in Share\dm.pas {DM_Wjckgl: TDataModule}, About in Help\About.pas {FrmAbout}, INPUTGoods in INPUT\INPUTGoods.pas {FrmINPUTGoods},
標簽: LoginLogin pas Mainmain FrmLogin
上傳時間: 2013-12-16
上傳用戶:1427796291
建議的詞法分析器,界面友好,用戶把文法放在INPUT文檔中,由程序調用,在ouput文檔中給出分析結果,
標簽: 分析器
上傳時間: 2015-04-27
上傳用戶:gxf2016
LVQ學習矢量化算法源程序 This directory contains code implementing the Learning vector quantization network. Source code may be found in LVQ.CPP. Sample training data is found in LVQ1.PAT. Sample test data is found in LVQTEST1.TST and LVQTEST2.TST. The LVQ program accepts INPUT consisting of vectors and calculates the LVQ network weights. If a test set is specified, the winning neuron (class) for each neuron is identified and the Euclidean distance between the pattern and each neuron is reported. Output is directed to the screen.
標簽: implementing quantization directory Learning
上傳時間: 2015-05-02
上傳用戶:hewenzhi
This project is created using the Keil ARM CA Compiler. The Logic Analyzer built into the simulator may be used to monitor and display any variable or peripheral I/O register. It is already configured to show the PWM output signal on PORT3.0 and PORT3.1 This ARM Example may be debugged using only the uVision Simulator and your PC--no additional hardware or evaluation boards are required. The Simulator provides cycle-accurate simulation of all on-chip peripherals of the ADuC7000 device series. You may create various INPUT signals like digital pulses, sine waves, sawtooth waves, and square waves using signal functions which you write in C. Signal functions run in the background in the simulator within timing constraints you configure. In this example, several signal functions are defined in the included Startup_SIM.INI file.
標簽: the Analyzer Compiler project
上傳時間: 2013-12-19
上傳用戶:Yukiseop
This example program shows how to configure and use the A/D Converter of the following microcontroller: STMicroelectronics ST10F166 After configuring the A/D, the program reads the A/D result and outputs the converted value using the serial port. To run this program... Build the project (Project Menu, Build Target) Start the debugger (Debug Menu, Start/Stop Debug Session) View the Serial Window (View Menu, Serial Window #1) View the A/D converter peripheral (Peripheral Menu, A/D Converter) Run the program (Debug Menu, Go) A debug script (debug.ini) creates buttons that set different analog values in A/D channels. As the program runs, you will see the A/D INPUT and output change. Other buttons create signals that generate sine wave or sawtooth patterns as analog INPUTs. µ Vision3 users may enable the built-in Logic Analyzer to view, measure and compare these INPUT signals graphically.
標簽: microcontroll Converter configure following
上傳時間: 2014-12-01
上傳用戶:獨孤求源
to show the waveform of audio file and play it on computer Purpose: Familiar with WAV file format and UI design It should have the following functions: Provide a Graphic User Interface for user to browse the file system and select one WAV file Show the waveform of INPUT audio signal Play the selected WAV file Print the parameters of WAV file such as sampling rate, bit-depth, etc
標簽: file Familiar computer waveform
上傳時間: 2015-05-07
上傳用戶:l254587896
數字運算,判斷一個數是否接近素數 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