std.stream for stdin?
Jarrett Billingsley
kb3ctd2 at yahoo.com
Fri Jul 11 11:00:28 PDT 2008
"dsimch" <dsimcha at yahoo.com> wrote in message
news:g58520$188d$1 at digitalmars.com...
> How is this class supposed to be used? I wrote a simple test program, and
> it
> appears not to work the way other subclasses of Stream work. Here's the
> test
> program, which should just copy stdin to stdout, but seems to do
> absolutely nothing.
>
> void main () {
> foreach(char[] line; din) {
> writefln(line);
> }
> }
>
> Similar results occur when I use the readLine method.
*shrug*
I never had any problems using it.
More information about the Digitalmars-d-learn
mailing list