随机数Random

在C++Builder Berlin版本里

随机数 RandomRange,好用。

System.Math.hpp
int __fastcall RandomRange(const int AFrom, const int ATo);

Returns a random integer from a specified range.

原文地址:https://www.cnblogs.com/cb168/p/5504248.html