Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

rand srand

  1. N

    is "rand() % 100;" not very random?

    I'm just wondering if what the folks on this stack is totally true, or maybe is outdated, and if it is true, then what they mean: https://stackoverflow.com/questions/1202687/how-do-i-get-a-specific-range-of-numbers-from-rand The thread is over 13 years old, but when I test that particular way...
Back
Top Bottom