有请cunsh(村少)
看的迷糊,能否详细解释一下。偶比较菜,请尽量通俗点 ^_^谢谢~~
void string_replace(string & strBig,
const string & strsrc, const string &strdst) {
string::size_type pos=0;
string::size_type srclen=strsrc.size();
string::size_type dstlen=strdst.size();
while( (pos=strBig.find(strsrc, pos)) != string::npos){
strBig.replace(pos, srclen, strdst);
pos += dstlen;
}
}
[解决办法]
等村少
[解决办法]
……
[解决办法]
一定是村少上次服务周到
这次lz一来,直接点名了
头牌啊。。。。。
[解决办法]
可怜的村少,就要累死了。
[解决办法]
一定是村少上次服务周到
这次lz一来,直接点名了
头牌啊。。。。。
[解决办法]
晕,不就是把所有与源串相同的部分都替换为目标串嘛
[解决办法]
一定是村少上次服务周到
这次lz一来,直接点名了
头牌啊。。。。。
可怜的村少,就要累死了。
等村少
;;;;;;
[解决办法]
村少服务 物美价帘