Thread overview | |||||
---|---|---|---|---|---|
|
June 15, 2004 a cin-like function in phobos | ||||
---|---|---|---|---|
| ||||
Hi all. What's a good line reader function, similar to the cin class in c++? |
June 15, 2004 Re: a cin-like function in phobos | ||||
---|---|---|---|---|
| ||||
Posted in reply to ameer armaly | ameer armaly schrieb:
> Hi all.
> What's a good line reader function, similar to the cin class in c++?
It's AFAIK not explicitly documented, but std.stream defines streams named stdin, stdout, stderr. They work as expected. Have a look at the std.stream documentation for details.
|
June 15, 2004 Re: a cin-like function in phobos | ||||
---|---|---|---|---|
| ||||
Posted in reply to ameer armaly | In article <Pine.LNX.4.58.0406151153130.1567@debian>, ameer armaly says... > >What's a good line reader function, similar to the cin class in c++? Check stream.d. If you want functionality closer to what's in C++, wait about a week--I'm working on some revisions to that stuff right now. |
Copyright © 1999-2021 by the D Language Foundation