// algo3-12.cpp 银行业务模拟。实现算法3.6、3.7的程序 #define Qu 4 // 客户队列数 #define Khjg 5 // 两相邻到达的客户的时间间隔最大值 #define Blsj 30 // 每个客户办理业务的时间最大值 #include"c1.h" typedef struct // 定义ElemType为结构体类型 { int OccurTime // 事件发生时刻 int NType // 事件类型,Qu表示到达事件,0至Qu-1表示Qu个窗口的离开事件 }Event,ElemType // 事件类型,有序链表LinkList的数据元素类型
上传时间: 2016-03-03
上传用户:jcljkh
This example demonstrates how the C8051F06x SMBus interface can communicate // with a 256 byte I2C Serial EEPROM (Microchip 24LC02B). // - Interrupt-driven SMBus implementation // - Only master states defined (no slave or arbitration) // - Timer4 used by SMBus for SCL low timeout detection // - SCL frequency defined by <SMB_FREQUENCY> constant
标签: demonstrates communicate C8051F06x interface
上传时间: 2016-04-12
上传用户:hanli8870
Abstract Based on the demand analysis of the RFID middleware,it suggests how to develop the RFID middle— ware,including the functionality and the mechanism of the event handle,and prospects the future of the RFID mid— dleware.
标签: middleware the Abstract analysis
上传时间: 2013-12-21
上传用户:qilin
Title: DK3200_RS232_IAP(upsd32XX) Project Name: DK3200_RS232_IAP Description: In-Application-Programming Driven by RS232 demonstration program
标签: In-Application-Prog 3200 Description 232
上传时间: 2016-05-27
上传用户:kikye
// This Communications Component is implemented using separate Read and Write // threads. Messages from the threads are posted to the Comm control which is // an invisible window. To handle data from the comm port, simply // attach a handler to OnReceiveData . There is no need to free the memory // buffer passed to this handler. If TAPI is used to open the comm port, some // changes to this component are needed ( StartComm currently opens the comm // port). The OnRequestHangup event is included to assist this. // // David Wann // Stamina Software // 28/02/96 // davidwann@hunterlink.net.au
标签: Communications implemented Component Messages
上传时间: 2016-05-30
上传用户:zhangyigenius
GNU ccScript is a C++ class framework for creating a virtual machine execution system for use with and as a scripting/assembler language for state-transition driven realtime systems. The most common example of this is as the core of the scripting engine found in GNU Bayonne.
标签: framework for execution ccScript
上传时间: 2013-12-18
上传用户:sssl
MediaPlayer代码,部分代码,合适请用: import java.awt.* import java.awt.event.* import javax.swing.* import javax.media.* import java.io.* import java.util.* //为了导入Vector //import com.sun.java.swing.plaf.windows.* public class MediaPlayer extends JFrame implements ActionListener,Runnable { private JMenuBar bar //菜单条 private JMenu fileMenu,choiceMenu,aboutMenu private JMenuItem openItem,openDirItem,closeItem,about,infor private JCheckBoxMenuItem onTop private boolean top=false,loop //设定窗口是否在最前面 private Player player //Play是个实现Controller的接口 private File file,listFile //利用File类结合JFileChooser进行文件打开操作,后则与list.ini有关
标签: MediaPlayer 代码
上传时间: 2016-07-08
上传用户:爺的气质
sourceforge历史版本完整下载: http://sourceforge.net/project/showfiles.php?group_id=202044 提供了基于b树索引算法的文件数据数据库模块详见storage/目录下面的 btree.c与pager.c container目录为常用的容器实现,如果rbtree avltree map heap list vector hashtable deque T树 B树, test目录为测试程序代码经过初步测试,比较稳定。 os_api:装一些操作系统相关的接口函数。已完成event mutex sem thread pipe相关的封装 advance_container:提供优先级消息队列,普通消息队列,定时器容器。 frame:目前提供了listerner(linux下版本,模仿ace的反应器)定时器 algorithm:补充了堆排序 与快速排序 所有代码均已在windows linux与uclinux + arm44b0平台下测试 欢迎交流 msn:lsccsl@163.net mail:lsccsl@tom.com
标签: sourceforge showfiles group_id project
上传时间: 2016-07-16
上传用户:lili123
The Little Green BATS is the first and so far only Dutch team in the 3D simulation league. We are a group of graduate students from the department of AI at the University of Groningen, The Netherlands. Our team name is derived from the fact that the first 3D agents in the league were balls and from the very philosophical observation that Balls Are Truly Spheres (BATS). This abbreviation reminded us of our favorite song Little Green Bag by The George Baker Selection and so the whole team name was born. We entered the competition for the first time at the 10th edition of RoboCup at Bremen, Germany. unfortunately our hard work didn t pay off that time: already in the second round we got eliminated. However, after this we had a good base to build upon and the good time we had at the event and the nice community inspired us to continue and work hard for another year. This turned out to be defiantly worth it, because in 2007 in Atlanta we managed to become vice world champions!
标签: simulation the Little league
上传时间: 2014-12-07
上传用户:youlongjian0
用java实现一款推箱子游戏,主要用java.awt java.awt.event javax.swing 等包
标签: java
上传时间: 2016-08-15
上传用户:小码农lz