📅  最后修改于: 2022-03-11 14:44:45.373000             🧑  作者: Mango
void printMatrix(array, ROWS> matrix){
for (auto row : matrix){
//auto infers that row is of type array
for (auto element : row){
cout << element << ' ';
}
cout << endl;
}