2017-12-19 c++ 数値を文字列に変換する c++ std to_string c++で数値を文字列に変更する方法 std::to_string()があるので利用します using namescace std; int i = 10; cout << to_string(i); 10