#pragma once #include "Stdafx.h" class GetRandom { public: GetRandom(); ~GetRandom(); public: static STRUCTRANDOMALL RandomData1; //随机序列 static CFile gFile; //文件句柄 static BOOL bRun; //运行 public: //获取随机数 static DWORD GetRandomValue(); //重新生成随机数 static bool CreateAllRandomValue(); //加载 static bool Load(); //保存 static bool End(); };