Seeding srand() once yet rand() gives almost indentical results everytime the more I run the program

后端 未结 0 1739
有刺的猬
有刺的猬 2020-11-30 17:20

I\'m trying to create a random array of random integers for a minesweeper game.

At the beginning of the main() function I initialize srand(time(NUL

相关标签:
回答
  • 消灭零回复
提交回复
热议问题