| And its pretty impossible to get a "truely" random
| number from a computer
Actually, it is quite possible to do so and it is done quite frequently. A popular way is from timing events, such as a user's input into the keyboard. (It's generating the seed that is a real issue.) Using good old unreliable human input works quite nicely :).
Point taken that it is good enough for this example (as long as srand is used, of course!)
In reply to RE: RE: RE: Re: Random Numbers
by turnstep
in thread Random Numbers
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |