Page 1 of 1

expanding the C library

Posted: Sun Feb 10, 2013 8:36 pm
by YahooArchive
>from the helpline
>Hi i need to convert an int into a string but cant use \'itoa\' as it does not
seam to be included in the Coridium c lib.

Download the full Yagarto Tool Setup.

http://www.yagarto.de/

Poke around and you'll find the source for itoa or other standard C libraries.

Or you could use sprintf

Re: expanding the C library

Posted: Sun Feb 10, 2013 8:36 pm
by YahooArchive
> >from the helpline
> >Hi i need to convert an int into a string but cant use \'itoa\' as it does
not seam to be included in the Coridium c lib.
>

In addition to Bruce's recommendation the source code for a version of itoa is
included in the "C Bible" i.e. "The C Programming Language" by Brian W.
Kernighan and Dennis M. Ritchie. Every C programmer should have a copy.

Regards,
Chris Burrows

CFB Software
Astrobe v3.2: LPC2xxx Oberon-07 Development System
http://www.astrobe.com

Re: expanding the C library

Posted: Sun Feb 10, 2013 8:38 pm
by YahooArchive
sprintf was perfect

thank you