comp.lang.ada
 help / color / mirror / Atom feed
* How do you randomise integers?
@ 1997-05-16  0:00 the AJE
  1997-05-19  0:00 ` Michael F Brenner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: the AJE @ 1997-05-16  0:00 UTC (permalink / 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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-05-20  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-05-16  0:00 How do you randomise integers? the AJE
1997-05-19  0:00 ` Michael F Brenner
1997-05-20  0:00 ` Nick Roberts
1997-05-20  0:00 ` Jon S Anthony

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