Why I could not cast string to int?
xancorreu
xancorreu at gmail.com
Fri Feb 3 06:40:34 PST 2012
Al 02/02/12 20:40, En/na Jonathan M Davis ha escrit:
> And whether that's the best way to handle it depends on what you're
> trying to do in terms of user input and error messages. How on earth
> is all of that going to be handled generically? It all depends on what
> the programmer is trying to do. Switching to use command-line switches
> and getopt would help some, but you still have to deal with the error
> messages yourself. Creating the Person is the easy part. - Jonathan M
> Davis
I think it as a tool, not solve-everything-thing, it just a tool for
easy your job. Yeah, you could manually do that (thanks for the code)
but really you, maybe, want to do it _fastest_ and _easyest_.
Thanks,
Xan.
More information about the Digitalmars-d-learn
mailing list