December 25, 2014 How is the example from the main page supposed to work? | ||||
|---|---|---|---|---|
| ||||
I thought there was something wrong with my instalation until I realized that the loop in the example has possibly no end and never shows the result. Am I wrong? How am I supposed to exit the stdin loop? http://dlang.org/index.html | ||||
December 25, 2014 Re: How is the example from the main page supposed to work? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to shujidan Attachments: | On Thu, 25 Dec 2014 18:58:18 +0000
shujidan via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
> I thought there was something wrong with my instalation until I realized that the loop in the example has possibly no end and never shows the result. Am I wrong? How am I supposed to exit the stdin loop?
just send EOF signal. on most real OS this is ^D.
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply