I think this should work: import std.stdio;
void main() { string token; while(readf("%s ", &token)) writeln(token); } Have you tried that? What is wrong with it if you have?
Adam D. Ruppe via Digitalmars-d-learn Mon, 20 Apr 2015 18:51:11 -0700
I think this should work: import std.stdio;
void main() { string token; while(readf("%s ", &token)) writeln(token); } Have you tried that? What is wrong with it if you have?