title: How do I get a specific range of numbers from rand()?
body: <pre><code>srand(time(null));
  
  printf("%d", rand());
  </code></pre>
  
  <p>Gives a high-range random number (0-32000ish), but I only need about 0-63 or 0-127, though I'm not sure how to go about it. Any help?</p>