I've written a char *itoa(int number, char* string, int radix) function and merged it into my personal copy of libc. I could commit the changes to CVS it Dmitry thinks its a good idea. It's not part of ANSI C which may be why it wasn't in there to start with.
Its optimized for size (to but I haven't put much effort into making it small) which means it will still do the common bases (2,8,16) just as slow as any other base (there are much faster ways). Dmitry: If you think its a good idea I'll merge it into CVS. -Chris Takahashi On Tue, 29 Jun 2004 juergen.sch...@pcm.endress.com wrote: > Hey guys, > I'm a greenhorn with the MSP and the MSP tools. > Now I run in the problem, that I trying to convert a Int to a string. I > tried itoa(), sprintf(), but nothing was successfull. Is there also an > other function or did I something wrong, maybe I forgot to link something. > I would be enthusiastic to here from you > > Best regards > > Jürgen Scheib > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > >