SyntaxFix
Write A Post
Hire A Developer
Questions
If you can use C libraries then one method would be to use sprintf, e.g.
#include <cstdio> char s[32]; int len = sprintf(s, "%d", i);