If you want to implement a function to convert an integer to a string,
there are lots of ways. Is this what you want to do?
If your assignment is to write a lexical analyser in C, then I
would assume you can use standard C functions, such as sprintf(),
which is declared in <stdio.h>.
Look it up.
quote:Originally posted by Judex
I am writing a lexical analyser in C. I need to know how to convert integer to string . The other way round I can do it.