您当前的位置: 首页 > 

我什么都布吉岛

暂无认证

  • 3浏览

    0关注

    292博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

std::string插入的方法

我什么都布吉岛 发布时间:2020-04-27 13:19:15 ,浏览量:3

std::string的插入位置

string插入位置是在下标或者迭代器对应元素的前边,我们知道长度为n的字符串有n+1的插入位置。

string str("4396");
//s.insert(pos,args)
//args: pos string
string st("here");
for(int i=0;i            
关注
打赏
1658157489
查看更多评论
0.0377s