View Single Post
  #3 (permalink)  
Old February 24th, 2004, 11:56 AM
davekw7x davekw7x is offline
Authorized User
 
Join Date: Feb 2004
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

Dave

Quote:
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.

Thanks

judex

Reply With Quote