Help with rand()
I set this up(its an example)
a = rand() %4;
cout << "" << a;
everytime I do this I get 1 and if I do
a = rand() %100
I get 41!!!!
Help!!!!!
Insert this when starting the code:
And if you want your randomness to be a better one, include the library
and insert this instead:
Topic archived. No new replies allowed.