Generating Strings with Random Contents
Joseph Rushton Wakeling via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jul 16 16:24:10 PDT 2014
On 15/07/14 00:16, "Nordlöw" via Digitalmars-d-learn wrote:
> Is there a natural way of generating/filling a string/wstring/dstring of a
> specific length with random contents?
I think you need to be more specific about what kind of random contents you are
interested in having.
Are you interested in having each character in the sequence randomly chosen
independently of all the others, or do you want a random subset of all available
characters (i.e. no character appears more than once), or something else again?
More information about the Digitalmars-d-learn
mailing list