digitalmars.D - where is atoi()?
- dogtired (1/1) Sep 20 2004 I can't find it, neither can dmd.
- h3r3tic (2/3) Sep 20 2004 Don't. How about std.conv ? :)
- Sjoerd van Leent (2/8) Sep 21 2004 std.string, there it is
- h3r3tic (2/14) Sep 21 2004 std.conv is better :>
- Sjoerd van Leent (7/26) Sep 21 2004 It is a string function, but I still think the name is odd. It is a C
dogtired wrote:I can't find it, neither can dmd.Don't. How about std.conv ? :)
Sep 20 2004
h3r3tic wrote:dogtired wrote:std.string, there it isI can't find it, neither can dmd.Don't. How about std.conv ? :)
Sep 21 2004
Sjoerd van Leent wrote:h3r3tic wrote:std.conv is better :>dogtired wrote:std.string, there it isI can't find it, neither can dmd.Don't. How about std.conv ? :)
Sep 21 2004
h3r3tic wrote:Sjoerd van Leent wrote:It is a string function, but I still think the name is odd. It is a C name out of the prehistory. I think that /int toInt(char[])/ and /char[] toString(int)/ would be more appropriate. I think it should be in the std.string module since it has to do with strings. Although you can argue that it also has to do with other variables. :ph3r3tic wrote:std.conv is better :>dogtired wrote:std.string, there it isI can't find it, neither can dmd.Don't. How about std.conv ? :)
Sep 21 2004