Ручной ввод поля

This commit is contained in:
2024-12-03 15:18:18 +03:00
parent 9eda3b8a1a
commit 7b1b2dd62b
3 changed files with 25 additions and 1 deletions

View File

@@ -44,6 +44,9 @@ int main()
CellularAutomaton ca(fieldWidth, fieldHeight);
std::cout << "\nИтерация 0:\n";
ca.displayField();
for (int i = 0; i < iterationsCount; ++i)
{
std::cout << "\nИтерация " << i + 1 << ":\n";