From: evos AT m140 DOT aone DOT net DOT au (Daniel Everton) Newsgroups: comp.os.msdos.djgpp Subject: problems with rawclock() Date: Wed, 01 Jan 97 08:56:40 GMT Organization: Wild Gerbil Productions Lines: 11 Message-ID: <5ad8s8$758_001@cpe.Maroochydore.aone.net.au> NNTP-Posting-Host: d203-1.cpe.maroochydore.aone.net.au To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I'm trying to use the libc function rawclock() as a seed for srand() but I keep getting the same series of random numbers. I've traced the problem to rawclock() and find that it's not doing what I thought it was supposed to. According to the libc.inf file rawclock() "Returns the number of clock tics (18.2 per second) since midnight." Yet when I use it I find that it always returns zero. Anybody know what's going on? Dan Everton "Have you tried thinking like a shower?" evos AT m140 DOT aone DOT net DOT au -- KBHR's Chris in the Morning http://www.home.aone.net.au/evos/dan.htm