ranged random numbers in C

Posted by Scott on Stack Overflow See other posts from Stack Overflow or by Scott
Published on 2010-06-03T07:58:57Z Indexed on 2010/06/03 8:04 UTC
Read the original article Hit count: 128

Filed under:
|

I'm looking for something I can use in C that will give me a random number between a and b. So something like rand(50) would give me a number between 1 and 50.

© Stack Overflow or respective owner

Related posts about c

    Related posts about random