阅读背景:

为什么c++ stdlib rand()函数在不同的平台上为相同的种子提供不同的值?

来源:互联网 

I understand that the rand() function generates pseudo-random numbers based on the seed it is given, and that on a given platform it will always generate the same sequence of numbers from the same seed, what I want to know is why it gives a different sequence across platforms that use the same library? I.e. how is function generates




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: