Range of a random number

How would I declare the range that a rand() should be? Also, is there a certain #include file that you have to use?

scratch that, I've figured out how to use rand() I believe, but would float rand() = blah blah blah be a legal move?
Topic archived. No new replies allowed.