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
相關文章
相關標籤/搜索