next up previous contents index
Next: (2) Using Name Space Up: Building Ping-Pong Game using Previous: Building Ping-Pong Game using   Contents   Index

(1) Include Files

First of all, we should include the associated header files. In this example, we define the class Player derived from the class Atomic (Atomic.h); we create a ping-pong game as an instance of the class Coupled (Coupled.h); we will simulate the ping-pong game using a scalable simulation engine: SRTEngine (SRTEngine.h); and the time advance of the state Send is a random variable of the uniform pdf (RNG.h).



MHHwang 2007-05-07