Compare commits
No commits in common. "c660c11ffd9a0ff4e5b0d2903e56b46a3a220b27" and "152063142d59be6dd1384d65231b07a7f348c9d5" have entirely different histories.
c660c11ffd
...
152063142d
22
Source1.cpp
22
Source1.cpp
@ -237,7 +237,27 @@ void load() {
|
||||
|
||||
fclose(fin);
|
||||
}
|
||||
|
||||
void deleteRow(int delRow) {
|
||||
printf("!!!! deleteRow(%d) !!!!\n", delRow);
|
||||
for (int i = delRow; i < n - 1; i++) {
|
||||
for (int j = 0; j < m; j++) {
|
||||
arr[i][j] = arr[i + 1][j];
|
||||
}
|
||||
}
|
||||
n--;
|
||||
}
|
||||
|
||||
void ChetNet() {
|
||||
printf("!!!! ChetNet() !!!!\n");
|
||||
for (int i = 0; i < n; i++) {
|
||||
for (int j = 0; j < m; j++) {
|
||||
if (arr[i][j] % 2 == 1) {
|
||||
arr[i][j] = 0;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user