vector字符串数组
时间: 2023-08-24 14:07:46 浏览: 141
C++string (含字符串数组)相关用法.pdf
vector字符串数组是指使用vector容器来存储字符串的数组。在C++中,可以使用vector<string>来定义一个由string组成的vector,即可变长的字符串数组。vector容器可以根据需要自动调整自身的大小,方便进行字符串的添加、删除和查找操作。使用vector<string>可以方便地操作和管理字符串数组。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [字符串数组`vector<string>`的创建](https://blog.csdn.net/CFY1226/article/details/131438469)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [字符串(string),向量(vector)和数组学习总结](https://blog.csdn.net/weixin_51958878/article/details/122510608)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文