comp.lang.ada
 help / color / mirror / Atom feed
From: "the AJE" <whippet@light.iinet.net.au>
Subject: How do you randomise integers?
Date: 1997/05/16
Date: 1997-05-16T00:00:00+00:00	[thread overview]
Message-ID: <01bc6221$5c8b3100$1a8602cb@whippet> (raw)


I have only just begun learning ADA, but I can't find a book with decent
examples on randomising numbers.  I could try using C++, but I much prefer
ADA.  The biggest problem is finding something to connect the randomizer to
the timer so that a different seed is used everytime the programme is run. 
I would appreciate some examples using dice-rolls etc. because I can't
decipher syntaxes very well.

Thanks in advanced.
Andrew.




             reply	other threads:[~1997-05-16  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-16  0:00 the AJE [this message]
1997-05-19  0:00 ` How do you randomise integers? Michael F Brenner
1997-05-20  0:00 ` Nick Roberts
1997-05-20  0:00 ` Jon S Anthony
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox