How would I create a random number?
- by Elliot Bonneville
How would I create a random number using C++? I've heard that one should use the time as a seed, but I'm not sure how to do that with the correct syntax. How would I do this?
One more thing - how would I limit the random number to a particular range? I'm simulating a dice roll and getting numbers in the millions...