expanding the C library

Questions about the BASICtools and MakeItC
Post Reply
YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

expanding the C library

Post 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



YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: expanding the C library

Post 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

YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: expanding the C library

Post by YahooArchive »

sprintf was perfect

thank you

Post Reply