Sender: root AT delorie DOT com Message-ID: <37413749.2868FF4B@pmail.net> Date: Tue, 18 May 1999 09:47:53 +0000 From: Fred Backman Organization: http://www.femmefetish.com X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i686) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Begginer question about Randomizing the timer. References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Reply-To: djgpp AT delorie DOT com Here's one example: http://www-personal.engin.umich.edu/~bartlett/rand.html Fire-Breathing Penguin wrote: > How do you get a random number? In QBASIC it would be done as > RANDOMIZE TIMER > X=INT(RND*10)+1 > . Is there any way to do the same in C/C++? > > --§max (The Fire-Breathing Penguin) > > ------------------------------------- > Who said 12-years-olds can't program?