📅  最后修改于: 2022-03-11 14:44:56.929000             🧑  作者: Mango
std::vector> normal;
for(int i=0; i<10; i++)
{
//push a vector each time you loop a row
normal.push_back(std::vector());
for(int j=0; j<20; j++)
{
//push an item each time you loop a column
normal[i].push_back(j);
}
}