|
#include "stdafx.h"
#include <time.h>
#include <vector>
#include <algorithm>
using namespace std;
unsigned int _cdecl Random(unsigned int m, unsigned int n);
/*
范围随机,
nMinVal 起始值,
nMaxVal 终点值:必要时一般都会+1,不同设计有不同的相加值
*/
unsigned int _cdecl Random(unsigned int nMinVal, unsigned int nMaxVal)
{
|
|