Fixing sample files

Basile B. via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 12 13:30:51 PDT 2017


On Wednesday, 12 April 2017 at 19:58:47 UTC, Walter Bright wrote:
> https://issues.dlang.org/show_bug.cgi?id=17099
>
> This is a bit embarrassing.
>
> It seems that the samples fail because they use std.stream, 
> which has been removed. Anyone want to fix them to use stdio 
> instead?

Since dmd is shipped with DUB one can just put some embedded SDL 
descriptions and put undead as dependency.

A bit off topic but all these examples are very old-fashioned 
imho. Everything could be replaced with more idiomatic D code, 
using phobos.


More information about the Digitalmars-d mailing list