Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   URGENT!!How to make a random without repetition? (http://www.go4expert.com/forums/urgenthow-random-repetition-t21469/)

askmewhy25 23Mar2010 19:47

URGENT!!How to make a random without repetition?
 
URGENT!!How to make a random without repetition? using C

xpi0t0s 24Mar2010 17:07

Re: URGENT!!How to make a random without repetition?
 
How would you do it with a dice?
Let's try. 1 4 2 1 -oops, had a 1 already. Now what? And how did we know?

davidk 26Mar2010 12:50

Re: URGENT!!How to make a random without repetition?
 
Do you need to generate random numbers? Consider some C functions like rand()


All times are GMT +5.5. The time now is 20:10.