display int in char form

I can display 0-9 of integer in char form but having problem with 10 as it keeps on display : for 10. I need to put other char too so I need to use char in my variable... Is there any way to solve this?
There are a lot of examples of integer-to-string conversion around here that you could search for.

Barring that, think of a mathematical way to break the number 10 into its two constituent digits -- 1 and 0.
Topic archived. No new replies allowed.