c++,int转换成string #include int a=10; stringstream ss; ss<<a; string s=ss.str(); c++,string转换成int string s = “12”; int a = atoi(s.c_str());