1. # include <algorithm> 

string *p=new string[20];
    scoped_array<string>  sp(p);
    fill_n(&sp[0],20,"zhaoxi");
    {
    sp[0]="100";
    cout<<sp[0].size()<<endl;
    }

相关文章:

  • 2021-05-29
  • 2022-02-16
  • 2021-10-09
  • 2022-12-23
  • 2022-02-23
  • 2022-12-23
  • 2021-12-26
  • 2022-01-16
猜你喜欢
  • 2021-08-20
  • 2022-03-02
  • 2021-11-02
  • 2022-12-23
  • 2022-02-08
  • 2022-01-07
  • 2021-09-16
相关资源
相似解决方案