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...)
i have an idea, rather two 1. we can read some arbitrary data from the ram and convert that to a number 2. we can read some random file from the hard disk.
but the big question is HOW do i do all this? can someone help me with this?
or does someone have a better idea of generating random nos?
gurpreet __________________________________________________________ Great Travel Deals, Airfares, Hotels on http://r.rediff.com/r?www.journeymart.com/rediff/travel.asp&&sign&am...
Gurpreet Singh Student Final Yr Computer Sc. & Engg. --------------------------------------------------------------------- M A K E Y O U R O W N R O A D --------------------------------------------------------------------