rigging the rand function

I'm writing a program that select 12 numbers then plays notes according to those numbers but currently the notes are random(using rand()). I was wondering if their is any way to alter the results slightly so that certain numbers are more likely to show up. Thanks.
The keyword is "distribution". C++11 has some http://www.cplusplus.com/reference/random/

A roulette wheel selection might be what you are looking for:
Topic archived. No new replies allowed.