int para string java
int x = 3;
Integer.toString(int)
Wolfy
int x = 3;
Integer.toString(int)
#include <string>
using namespace std;
int iIntAsInt = 658;
string sIntAsString = to_string(iIntAsInt);
int numToConvert = *your number*;
// calculate the length of the resulting string
int ENOUGH = malloc(sizeof(char)*(int)log10(numToConvert));
char str[ENOUGH];
sprintf(str, "%d", 42);
// str contains the number in string form
string str_val = to_string(int_val);
int i = 69;
char str[256];
itoa(i,str,10); //Base 10
//str = "69"
int someInt = 368;
char str[12];
sprintf(str, "%d", someInt);