www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - How is the example from the main page supposed to work?

reply "shujidan" <cravstar hotmail.com> writes:
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
Dec 25 2014
parent ketmar via Digitalmars-d <digitalmars-d puremagic.com> writes:
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=20
 realized that the loop in the example has possibly no end and=20
 never shows the result. Am I wrong? How am I supposed to exit the=20
 stdin loop?
just send EOF signal. on most real OS this is ^D.
Dec 25 2014