----- Original Message ----- From: "Gurpreet Singh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 10:13 PM Subject: [ILUG-BOM] random no generation issues
> hi people > i am working on a project where i need to generate random nos, > lots of them. > now til now i've been using the random() functio in C, but the > thing is that when i run the program and call random() for the 1st > time it goives a no say x1, and i terminate the program... > now when i run it again, the random() functio returns the same no > that is x1. > i want to generate a random no that is random in the true sense of > the word(lolz i hope u get what i mean...) *snip* Just reading /dev/random as a file will give you a lot of insight ;). Hope it helps... Regards, -ah -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

