Borland and VC++ have it [Archive] - C Board

PDA

View Full Version : Borland and VC++ have it


ginoitalo
03-21-2002, 09:32 PM
I'm looking for the equivelent of :

char * ltoa ( long value, char * buffer, int radix );

in linux (well AIXC)....(my work place's server)

I know it may be the compiler and not the OS,

or how can i find the equivelent ?

Thanks

Deckard
03-22-2002, 07:06 AM
Hello,

If you would like to get a numeric value into a string, try sprintf:

sprintf( my_string, "%d", my_number );


HTH