-
基本用法
-
[[include]]<string> //可以相加赋值 a = "def" + "sjsjs"; //子字符串 a.substr(1, 2); //起始坐标与结尾坐标,含头含尾 //大于结尾,就全部输出 //获得起始地址 a.c_str();
-
[[include]]<string>
//可以相加赋值
a = "def" + "sjsjs";
//子字符串
a.substr(1, 2); //起始坐标与结尾坐标,含头含尾
//大于结尾,就全部输出
//获得起始地址
a.c_str();