Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help ? (who dos the random func work)

Status
Not open for further replies.

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
 
Look at keyword search and type :
random

you'll find a lot... Greetz,

The Muppeteer.

themuppeteer@hotmail.com

Don't eat yellow snow...
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top