delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/18/03:47:05

Sender: root AT delorie DOT com
Message-ID: <37413749.2868FF4B@pmail.net>
Date: Tue, 18 May 1999 09:47:53 +0000
From: Fred Backman <fredrick DOT backman AT pmail DOT net>
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: <gH003.11822$r_1 DOT 7601956 AT newscontent-02 DOT sprint DOT ca>
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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019