View Single Post
Old Feb 14th, 2007, 2:30 AM   #1
malms
Newbie
 
Join Date: Feb 2007
Posts: 1
Rep Power: 0 malms is on a distinguished road
non-repetitive random number

hi guys,
when i generate k random numbers in range from 1 to 100, usually i got a few numbers that repeat themselves.
how can i generate the k non-repetitive random number?
i tried to do error checking, whether the new generated random number is the same with the old one, but it's not working

thanks
malms is offline   Reply With Quote