TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Date: Tue, 4 Sep 2001 12:38:06 +0200
Reply-To: Jacob Sparre Andersen <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 8BIT
In-Reply-To: <[log in to unmask]>
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
From: Jacob Sparre Andersen <[log in to unmask]>
Parts/Attachments: TEXT/PLAIN (17 lines)

> I am working on a class assignment project for which I
> require a stream of random characters.  To circumvent
> the problem of identical lists from Ada.Discrete_Random
> I devised a task which continually updates seed numbers.

I honestly can't see why you should update the seeds
"manually". If you just use a single generator and
encapsulates it in a protected type, you should get as good
random numbers as you can expect from a deterministic

Max brændte høj og flyvsk quiz på wc