On Thu, 27 Nov 2014 21:14:57 +0000 Daniel Kozak via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:
> import core.runtime; > import std.c.process; > writeln("Can't find input file with list of links."); > Runtime.terminate(); > exit(1); please-please-please don't teach people that! using such features requiring deep understanding of how D runtime works, and how it interacts with C runtime, with GC, with stack objects and so on. it's better to now show people bad samples instead of telling them "don't do what i just wrote". ;-)
signature.asc
Description: PGP signature