From: "C.Rothwell" Newsgroups: comp.os.msdos.djgpp Subject: Re: PROBLEM WITH FUNCTION RAND() Date: Sat, 09 May 1998 03:22:42 +0100 Organization: JSW Project Lines: 13 Message-ID: <3553BDF1.5E607F2@aditfree.com> References: <6ivreu$jo5$2 AT talia DOT mad DOT ibernet DOT es> Reply-To: enquiries AT aditfree DOT com NNTP-Posting-Host: p62.nas1.is3.u-net.net Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk JOA wrote: > Hello. > When i make a program (i want print a rand number into the screen) whit this > function or random function,and execute it a few times the random numbers > donīt change. > You could be clever and use the system clock to get a random number that was diffrent every time you ran the program.