[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Number to String
- Subject: [ale] Number to String
- From: terry at esc1.com (Terry Lee Tucker)
- Date: Thu, 26 Apr 2001 15:03:09 -0400
Terry Lee Tucker wrote:
>
> Is there a C function for converting a number to a string?
>
> Thanks...
> --
> Sparta, NC 28675 USA
> 336.372.6812
> http://www.esc1.com
> The Gates of hell shall NOT prevail...
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
I responded to this about an hour ago, but haven't see it come across.
Thanks to all who responded. sprintf was what I needed. I had tried that
earlier, but had for some reason, I thought I need to have "%s" in the
format string field rather than "%d". When I ran the program, it did a
core dump, of course. Anyway, sprintf with the proper format string
works perfectly.
--
Sparta, NC 28675 USA
336.372.6812
http://www.esc1.com
The Gates of hell shall NOT prevail...
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.