1. string 化成 integer 举例: string a = "123"; int b = stoi(a); 这个时候的b就是integer type的123了。 2. integer 化成 string 举例: int c = 123; string d = to_string(c