Equivalent of scanf
Michael Koehmstedt
mkoehmstedt at runner.csub.edu
Sun Jul 18 02:58:59 PDT 2010
I am doing this and it is throwing an exception.
string d = readln( );
int i = to!int( d );
I tried
string d = "50";
int i = to!int( d );
and that worked ok.
More information about the Digitalmars-d-learn
mailing list