How can I convert integers to strings? I’m using a gcc compiler under Solaris 2.6. itoa, which I used in VC++, doesn’t work. By the way, how can I write strings on a graphic canvas using the GLUT library?
I haven’t worked with gcc, but if itoa does not work, then I’m afraid you are working with a substandard compiler. itoa is part of the ANSI C standard run-time library and is used for the exact task you described.