Random Numbers

Philippe Sigaud philippe.sigaud at gmail.com
Sat Aug 4 13:22:13 PDT 2012


On Sat, Aug 4, 2012 at 7:27 PM, Ralph Main <rmain1972 at live.com> wrote:

> I tried the code in just main() like bearophile's post, and it worked just
> fine.  I also removed the new keyword from my program and it compiled.
>
> The error message that I got yesterday with the example code returned an
> error message that had something do with void and 0 arguments.

In your previous code, did you put it in the module scope or in a
function? (main() is a function)


More information about the Digitalmars-d-learn mailing list