Input handling? (newbie alert!)

Bernard Helyer b.helyer at gmail.com
Thu Sep 9 18:13:11 PDT 2010


On Thu, 09 Sep 2010 18:07:43 -0700, Jonathan M Davis wrote:
> Yes std.stdio.readln() would be a much better way to go. However, I'd
> suggest using std.conv.parse() rather than std.conv.to(). It's less
> picky about whitespace, and it allows you to deal with the case where
> you have multiple values on the same line. For string manipulation
> functions, check out the functions in std.string.
> 
> - Jonathan M Davis


D'oh. I completely forgot that std.conv.parse existed! >_<;


More information about the Digitalmars-d-learn mailing list