Different Ways to create random number in C++
1) void srand(unsigned int seed):
*It can create a pseudo random number, if the seed is the same, then the random number is the same.
*The common way to use it is as follows:
原创
2017-02-28 22:22:01 ·
168 阅读 ·
0 评论