📜  如何在 C++ 代码示例中使用向量创建二维数组

📅  最后修改于: 2022-03-11 14:44:51.311000             🧑  作者: Mango

代码示例2
vector> vec(N, vector (M, INT_MAX));

Explanation::
vector> -- will take the formed container
N -- Think like row of 2d Matrix
vector (M, INT_MAX) -- In each row, there is again a vector associated with it, 
that will formed 2d array.