I was looking for a way to convert an integer to a string in a portable manner (portable among at least Windows & Linux and x86 and x86_64) and I though itoa(X)
itoa(X)
Most often you just use printf("%d");
http://en.wikipedia.org/wiki/Printf
You can use sprintf if you need it in a buffer, but how often do you convert to a string and not write it to a file or output device?