to_string 函数:将数字常量转换为字符串,返回值为转换完毕的字符串头文件:#include<string>string s = to_string(i); //将整数i转换为字符串表示 ...
確定! 回上一頁