Mar 18, 2002 #1 folen Programmer May 31, 2001 8 IL who dos the random func in c workes i need nombers and if any body have a sorce cod this wold be very nice and i wold be thankfull thankes
who dos the random func in c workes i need nombers and if any body have a sorce cod this wold be very nice and i wold be thankfull thankes
Mar 18, 2002 #2 Themuppeteer Programmer Apr 4, 2001 449 BE Look at keyword search and type : random you'll find a lot... Greetz, The Muppeteer. themuppeteer@hotmail.com Don't eat yellow snow... Upvote 0 Downvote
Look at keyword search and type : random you'll find a lot... Greetz, The Muppeteer. themuppeteer@hotmail.com Don't eat yellow snow...
Mar 18, 2002 #3 Zyrenthian Programmer Mar 30, 2001 1,440 US Also, look at srand(time(NULL)); and rand() the srand seeds itself based on time so pseudo random numbers are generated rather then the same sequence each time. Matt Upvote 0 Downvote
Also, look at srand(time(NULL)); and rand() the srand seeds itself based on time so pseudo random numbers are generated rather then the same sequence each time. Matt