一个完整的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