Octal to Decimal converter

Bill Baxter dnewsgroup at billbaxter.com
Thu Oct 18 18:43:44 PDT 2007


Todd Titus wrote:
>> strtoul decalred in std.c.stdlib will probably do what you want, google 
>> for it's MAN page or similar.  Or as Frank suggested Tango has it covered.
>>
>> Regan
> 
> I imported std.c.stdlib and got a compile error along the lines of:
> data type std.c.stdlib stroul conflicts with stdlib stroul...
> so I tried using stroul in stdlib by itself but it will require several conversions to make it work correctly.
> 
> Think I will write a function from scratch, wish me luck :)
> 
> Todd
> 
> 

Try calling "std.c.stdlib.stroul" in your code instead of just "stroul".

--bb


More information about the Digitalmars-d-learn mailing list