Mail Archives: djgpp/1998/12/25/16:11:56
> come to the problem that I dont know how to convert a INT to at CHAR*.
> I want the INT I to become a string so I can add a number, let's say '123' to
Use itoa -function. For example;
char txt[20];
itoa (intvalue, txt, 10);
(last "10" is radix...). And resulting string of course is added
normally to another string with strcat-function...
/// Toni Räsänen
/// torasane AT mail DOT student DOT oulu DOT fi
\\\ Physicians ask how. Filosofians ask why. Dragons don't care.
- Raw text -