www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - a cin-like function in phobos

reply ameer armaly <ameer charter.net> writes:
Hi all.
What's a good line reader  function, similar to the cin class in c++?
Jun 15 2004
next sibling parent Maik Zumstrull <Maik.Zumstrull gmx.de> writes:
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.
Jun 15 2004
prev sibling parent Sean Kelly <sean f4.ca> writes:
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.
Jun 15 2004