yeah, and other ranges of numbers too, which I presume any 100's replace with desired amount? Also would the random_int routine be:
int random_int( int lowest, int highest )
{
return lowest+( (int) rand()%(highest-lowest));
}
I've ran it in console mode, and it gives more or less the same numbers, and not unique ones that havent been used before. Could you give me a lisiting of how you'd done things please dude?
I tried to redim the numbers[] array from within a void function by naming it static int numbers[amount];, it didnt like that.
Thanks again,
Clyde.