import std.stdio;
int main(string[] argv) { string nm; stdin.readf("%s\n",&nm); writeln("nm:",nm); stdin.readf("%s\n",&nm); writeln("nm:",nm); return 0; } ======== io shown below 123 456 nm:123 nm:456
Jay Norwood via Digitalmars-d-learn Sat, 26 Dec 2015 11:45:34 -0800
import std.stdio;
int main(string[] argv) { string nm; stdin.readf("%s\n",&nm); writeln("nm:",nm); stdin.readf("%s\n",&nm); writeln("nm:",nm); return 0; } ======== io shown below 123 456 nm:123 nm:456