int matrix[5][5] = {
{1,2,3,4,5},
{2,3,4,5,1},
{3,4,5,1,2},
{4,5,1,2,3},
{5,1,2,3,4}
};
for (int i = 0; i < 5; i++)
{
for (int j = 0; j < 5; j++)
{
std::cout << matrix[i][j] << " ";
}
std::cout << std::endl;
}
new_line[i] = a[i];