C++二维vector初始化大小方法

vector<vector<int> > newOne(r, vector<int>(c, 0));

 

posted @ 2019-03-20 19:49  开局一把刀  阅读(4)  评论(0)    收藏  举报