itoa

Andrew Pinski pinskia@physics.uc.edu
Tue Apr 3 22:08:00 GMT 2001


> 
> On Tue, 3 Apr 2001 Timothy_Ko@nag.national.com.au wrote:
> 
> > 
> > 
> > Hi,
> > 
> > I have #include stdlib.h
> > 
> > But I still have
> > 
> > implicit declaration of function `int _itoa(...)'
> > 
> > Can anyone help me?
> 
>    AFAIK, this is a microsoft specific function. You can probably
> replace it with a sprintf into a small buffer.
don't use sprintf use snprintf, it is much safer.

> 
> 
> --
> Francois Gouget         fgouget@free.fr        http://fgouget.free.fr/
>  Advice is what we ask for when we already know the answer but wish we didn't
>                                  -- Eric Jong
> 
> 
> 



More information about the Gcc mailing list