Converting char to int

Caeadas mitch.m13 at hotmail.com
Wed Jan 1 12:01:55 PST 2014


Thanks much for the help, both of you :). I thought there might
be a very simple way to do this, since it's so intuitive to
change '4' to 4. I've basically just been subtracting 48 from
everything, but I suppose aesthetically it's a bit nicer to
convert from string instead.


More information about the Digitalmars-d-learn mailing list