itoa, atoi - confused



I'm pretty new to C, although I did do some years ago now.

I've been told that itoa is no longer a standard function, and that the
ato... functions - although in the std - are not recommended.

So, I was wondering what was wrong with both itoa and atoi etc (and what's
replaced them).

Many thanks

ray


.



Relevant Pages

  • Re: itoa, atoi - confused
    ... itoa has *never* been a standard function, and the atoi family of fuctions ... I was wondering what was wrong with both itoa and atoi etc (and what's ... string representation of an integer us sprintf. ...
    (comp.lang.c)
  • Re: itoa, atoi - confused
    ... > I've been told that itoa is no longer a standard function, ... I was wondering what was wrong with both itoa and atoi etc (and what's ... overflow (which gives undefined behavior) if the result can't be ... Prev by Date: ...
    (comp.lang.c)
  • Re: converting int to string
    ... If I have an int, say 1234, and I need to conert it to an equivalent string "1234", is there a standard function that does this? ... use its unsafe cousin, sprintf, with a "large enough" buffer. ... of itoa() to show how one could write his or her own, ...
    (comp.lang.c)
  • Re: itoa, atoi - confused
    ... rayw wrote: ... I've been told that itoa is no longer a standard function, ... libraries. ...
    (comp.lang.c)
  • Re: int to CString or char*
    ... >Somehow can I convert int to CString or char* in MFC ... Dave ... Prev by Date: ...
    (microsoft.public.vc.mfc)