Reading a single whitespace-separated word from stdin

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 6 00:49:05 PDT 2014


Mark Isaacson:

> Fair enough. I've done stuff like that in the past. I'm trying 
> to implement a university project that was originally designed 
> for C++ style I/O... and so where I'd have otherwise jumped at 
> something like that from the beginning, my hands are slightly 
> tied.

If you need/want to use the C++ style, even if it's not fully 
Phobos-idiomatic, probably you can invent some way to simulate it.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list