Hi, I know that RAND_MAX is defined as the value 0x7fff.
How can i convert the random number from the range [0, RAND_MAX] to [10, 500]??
Please help~~~~
Thanks~~~
收錄日期: 2021-04-12 22:47:53
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20061030000051KK00646