摘要: C++——vector 详解 本次博客,我将记录C++中vector的用法 头文件:#include <vector> 初始化: //以int为例 vector<int> v1; vector<int> v2(v1); //v2中包含了v1中的所有副本 vector<int> v2=v1; //同上 vector<int> v3 阅读全文
posted @ 2022-07-20 14:25 Sky6634 阅读(619) 评论(0) 推荐(0)