#include#include int main() { string str=; //十个字符串 string::iterator it; //stirng 迭代 int index=str.find("\\"); int x=0; while(inedx!=-1) { if((index-1)==0) //前面的减去后面的是1那么就是相同 { it=str.begin(); cout<<"找到相同的了" str.erase(it+index); } x=index; index=str.find("\\",index+1); } return 0; }

售后响应及时
7×24小时客服热线
数据备份
更安全、更高效、更稳定
价格公道精准
项目经理精准报价不弄虚作假
合作无风险
重合同讲信誉,无效全额退款