1、将string转换成 int stoi()函数 (stoi理解记忆十分简单,就是将string to int, 哈哈,通俗易懂) 2、将int转换成string to_string() 应用:整数反转 易错点:忽略正数和负数的差别