int A = rand()%End; //End is saved earlier onreturn A;
But, then I was wondering if I can specify where to start, as well as where to end? Example :
int A = rand()%Start%End;
Would that one work? I don't want to take the chances of drawing a 0, but then again, I guess if I got a 0, I could just redraw until A ! = 0. Thanks for your help, ya'll. Later! :P