# int create int int creating of massiv void free int int deleting of ma

 ``` 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108``` ```int ** create(int,int); //creating of massiv void free(int **,int); //deleting of matrix void initialize(int **,int,int); //input of matrix void print(int**,int,int); //printing of matrix int ** turn(int**,int,int,int); //turn mass int ** turn_left(int**,int,int,int); //turn mass on the left_side int _tmain() { int j=0; const int n = 4; //number of string const int m = 4; //number of columns int **A=create(n,m); //creating of massiv initialize(A,n,m); //initializing of massiv print(A,n,m); //array output on the screen cout<0) { for(int i=0;ii;j--) mas[j][M-i-1]=mas[j-1][M-i-1]; //правую на 1 вниз for(j=M-i-1;j>i+1;j--) //верх на 1 вправо mas[i][j]=mas[i][j-1]; mas[i][i+1]=b; } k--; } return mas; } int** turn_left(int **mas,int N,int M,int k) { int b; int i,j; while(k>0) { for(i=0;ii;j--) //левую на 1 вниз mas[j][i]=mas[j-1][i]; for(j=i;ji+1;j--) //низ на один вправо mas[N-i-1][j]=mas[N-i-1][j-1]; mas[N-i-1][i+1]=b; } k--; } return mas; } ```