C++二维vector使用

你再不来,我要下雪了。 记录下二维vector的遍历(输出) 注:二维vector的赋值不能跟二维数组同样用scanf或者cin写入 遍历(迭代器) 方法一c++ #include <bits/stdc++.h> using namespace std; void print() { vector<vector<char>> res; res.push_back({'a', 'b', 'c
相关文章
相关标签/搜索