This is a serial mouse driver, which is compliant with Plug and Play, supports dynamic detection (via serenum) and removal (either hotplug or via the device manager). The code serves as a sample for any serial-enumerable device. The behavior of the various routines is documented in the source code f ...
解决时钟问题,acm竞赛题
A weird clock marked from 0 to 59 has only a minute hand. It won t move until a special coin is thrown into its box. There are different kinds of coins as your options. However once you make your choice, you cannot use any other kind. There are infinite number of coins of eac ...
The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B ...
一个游戏
the hardware for the game includes a number of displays, each with a button and
-- a light, that each represent a bin that can store marbles (beans).
--
-- The display indicates the number of marbles in each bin at any given time.
-- The light indecates that the present bin is not empty a ...
Micro In-System Programmer Brief Installation Notes
Enter the src directory.
If uisp does not compile successfully, add switch -DNO_DIRECT_IO in the
Makefile to remove support for direct I/O port access (that may be
necessary on non-PC architectures). Parallel port access should still
work if you ...
MantisChess -- A Chinese Chess Program
Copyright (C) Chen Chengtao, China
This program is free software you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation either version 2
of the License, or (at your option) ...
Rotating shafts experience a an elliptical motion called whirl. It is important to decompose this motion into a forward and backward whil orbits. The current function makes use of two sensors to generate a bi-directional spectrogram. The method can be extended to any time-frequency distribution
%
...
Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP connection pool. One could easily implement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The program grows, and now there is a need for a pool of threads. ...
Linux 虚拟网络接口 实例
In the Linux (or Unix) world, most network interfaces, such as eth0 and ppp0, are associated with a physical device that is in charge of transmitting and receiving data packets. However, some logical network interfaces don t feature any physical packet transmission. The most ...
This PNG Delphi version 1.56 documentation (this version is a major rewrite intended to replace the previous version, 1.2).
Improvements in this new version includes:
This new version allows the programmer to not use Delphi heavy units which will greatly reduce the size of the final executable.
R ...