Re: convert int to string without using standard library (stdio.h)



ceeques wrote:
spibou@xxxxxxxxx wrote:

Thanks for the repy:

Please don't top-post, your reply belongs following or interspersed
with properly trimmed quotes. See most of the other posts here for
examples.
(text rearranged)

I don't understand what you're trying to do. Please
provide more examples. Also write down what your
function should accept as arguments and what its
return type should be. And also try to avoid syntax
errors like char ch 'A' ; it makes it harder to see what
your aim is.


I need to convert number (int, short) to a string but cannot use
sprintf as I am using an embedded system. I want to mix text and
number in a display function on the system's output (It doesn't
support printf) but it does have a text to screen function that
accepts strings. I would like to display counters with a message
along with it.

Review the requests made above. Show the function signature and provide
examples.



Brian
.