在C++Builder Berlin版本里

随机数 RandomRange,好用。

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

 

Returns a random integer from a specified range.

posted on 2016-05-18 10:22  lypzxy  阅读(193)  评论(0编辑  收藏  举报