摘要: Simulation is the most common approach to perform problem research. Among several types of simulation, way discrete which assumes division time scale into fixed length slots. Depending on investigated problem, simulation packages may be used or it could necessary design and create own system. In this paper, we propose complete pre-study scheme commonly appearing implementation problems with suggested solutions. We also describe how implement exemplary simulator in C++.