[Solved] C++ generate random numbers for a given seed [closed]
According to the documentation (which you really should read!): Returns a pseudo-random integral value between 0 and RAND_MAX Where RAND_MAX is implementation defined, but is guaranteed to be at least 32767. In fact, it often is 32767, and that appears to apply to you. The documentation also states: rand() is not recommended for serious random-number … Read more