how do i convert an integer to a string? yes i am a newb i know.
This is a discussion on converting an int to a string within the C++ Programming forums, part of the General Programming Boards category; how do i convert an integer to a string? yes i am a newb i know....
how do i convert an integer to a string? yes i am a newb i know.
look at sprintf() or itoa()
Quidquid latine dictum sit, altum sonatur.
Whatever is said in Latin sounds profound.
In this case sprintf is your best bet since it's standardized while itoa is nonstandard and may not be a part of your compiler.
-Prelude
My best code is written with the delete key.