www.pudn.com > Elevators.rar > Global.cpp


//## begin module%1.3%.codegen_version preserve=yes 
//   Read the documentation to learn more about C++ code generator 
//   versioning. 
//## end module%1.3%.codegen_version 
 
//## begin module%3C15B45F03CA.cm preserve=no 
//	  %X% %Q% %Z% %W% 
//## end module%3C15B45F03CA.cm 
 
//## begin module%3C15B45F03CA.cp preserve=no 
//## end module%3C15B45F03CA.cp 
 
//## Module: Global%3C15B45F03CA; Package body 
//## Subsystem:  
//## Source file: D:\Program\OOP\Elevators\SourceCode\Global.cpp 
 
//## begin module%3C15B45F03CA.additionalIncludes preserve=no 
//## end module%3C15B45F03CA.additionalIncludes 
 
//## begin module%3C15B45F03CA.includes preserve=yes 
#include "stdafx.h" 
//## end module%3C15B45F03CA.includes 
 
// Global 
#include "Global.h" 
//## begin module%3C15B45F03CA.declarations preserve=no 
//## end module%3C15B45F03CA.declarations 
 
//## begin module%3C15B45F03CA.additionalDeclarations preserve=yes 
 
 
int Random(int Max,int Min=1) 
{ 
	int iRand = Min + rand()%(Max-Min+1); 
	return iRand; 
} 
//## end module%3C15B45F03CA.additionalDeclarations 
 
 
//## begin module%3C15B45F03CA.epilog preserve=yes 
//## end module%3C15B45F03CA.epilog