{
for(int I = 0;我& lt行;i++)
for(int j = 0;j & ltcolsj++)
arrayDes[j * rows+(rows-I-0)]= arraySrc[I * cols+j]
}
bool rotate 180(int arraySrc[],int arrayDes[],int rows,int cols)
{
for(int I = 0;我& lt行;i++)
for(int j = 0;j & ltcolsj++)
arrayDes[(rows-I-1)* cols+(cols-j-1)]= arraySrc[I * cols+j]
}
bool rotate270(int arraySrc[],int arrayDes[],int rows,int cols)
{
for(int I = 0;我& lt行;i++)
for(int j = 0;j & ltcolsj++)
arrayDes[(cols-j-1)* rows+I]= arraySrc[I * cols+j]
}