I have the random library and everything.
when i go:
it picks a number from 0-9.Code:randomize(); random(10);
Can someone help me get the range from 1 to 10?
This is a discussion on random problem within the C++ Programming forums, part of the General Programming Boards category; I have the random library and everything. when i go: Code: randomize(); random(10); it picks a number from 0-9. Can ...
I have the random library and everything.
when i go:
it picks a number from 0-9.Code:randomize(); random(10);
Can someone help me get the range from 1 to 10?
Code:random(10) + 1;
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.