C++

string to int, int to string

dewlit 2016. 7. 31. 19:07

string str = "34";
int intValue = atoi(str.c_str());

int intValue = 5;
string str = to_string(intValue);

http://arer.tistory.com/43