Several segmentation faults
BCS
ao at pathlink.com
Wed May 28 10:11:00 PDT 2008
Reply to Josh,
> Has anyone had segmentation faults running the tutorials? This
> segfaults on my computer (Ubuntu 8.04) using dgc. It's taken from one
> of the tutorials, but several similar tutorials also fail.
>
> import std.stdio;
>
> int magicNumber = 42;
> char[] password = "sesame";
> void main() {
> writefln("Magic number: ", magicNumber);
> writefln("Password: ", password);
> }
does the compiler seg-v or does the compiled program?
More information about the Digitalmars-d
mailing list