随笔分类 -  C++ / 容器 / vector容器

摘要:#include <iostream> #include <vector> using namespace std; int main(){ vector<int>a; int b[] = {1,2,3,4,5}; vector<int>c(b,b+sizeof(b)/sizeof(int)); a 阅读全文
posted @ 2023-12-03 09:53 王一行(小号) 阅读(5) 评论(0) 推荐(0) 编辑