C++string类(持续更新)

reszie()

代码:

 

 resize后面,用'\0'补齐。


capacity()

 

posted on 2019-06-24 17:56  长岛的雪  阅读(145)  评论(0编辑  收藏  举报