Случайная инициализация и вывод поля

This commit is contained in:
2024-12-03 14:22:14 +03:00
parent 7e9540f10c
commit 2e9fad26d8
3 changed files with 47 additions and 1 deletions

View File

@@ -40,6 +40,9 @@ int main()
cout << "Укажите количество итераций (min 1): ";
int iterationsCount = inputNumber(1);
CellularAutomaton(fieldWidth, fieldHeight);
CellularAutomaton ca(fieldWidth, fieldHeight);
ca.displayField();
waitForEnter();
}
}