Код: Выделить всё
int ia[3][4];
for (const auto &row : ia)
for (const auto &col : row)
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78429298/c-primer-question-on-range-for-with-multidimensional-arrays[/url]Код: Выделить всё
int ia[3][4];
for (const auto &row : ia)
for (const auto &col : row)
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78429298/c-primer-question-on-range-for-with-multidimensional-arrays[/url]