Alan wrote:
>
> I want to change a 3 digits integer to characters, how can i do that?
>
> the 3 digits integer maybe 123, 23 or 3
> I want to change the integer to "123", " 23" or " 3"
>
You don't want to change anything.
You want to convert an integer into its textual representation.
char Buffer[20];
int Number = 123;
sprintf( Buffer, "%d", Number );
Also: When posting to alt.comp.lang.learn.c-c++ always
indicate which language you need a solution for. There
we discuss C and C++. The C++ solution would be completely
different.
--
Karl Heinz Buchegger