Home > Archive > Unix Programming > November 2004 > Long integer to string conversions
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Long integer to string conversions
|
|
|
| Is it possible to Convert a signed long integer to the
corresponding string representation in the specified
base(base b/w 2 and 36) without using any of the
following functions,
ltostr(),ultostr(),ltoa(),ultoa(),ioctl(
) because my
linux box is version 2.4.21-4.EL (gcc version 3.2.3 )
and it doesnot have above functions.
thanks in advance
Seema
| |
| Niels Baggesen 2004-11-25, 8:59 am |
| In comp.unix.solaris seema <seema_coma@yahoo.co.in> wrote:
> Is it possible to Convert a signed long integer to the
> corresponding string representation in the specified
> base(base b/w 2 and 36) without using any of the
> following functions,
> ltostr(),ultostr(),ltoa(),ultoa(),ioctl(
) because my
> linux box is version 2.4.21-4.EL (gcc version 3.2.3 )
> and it doesnot have above functions.
snprintf?
/Niels
--
Niels Baggesen -- @home -- Århus -- Denmark -- niels@baggesen.net
The purpose of computing is insight, not numbers -- R W Hamming
|
|
|
|
|