[ale] Number to String

Terry Lee Tucker terry at esc1.com
Thu Apr 26 15:03:09 EDT 2001


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.





More information about the Ale mailing list