📄 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: <Top Level>
//## 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -