Реферат: Моделирование схемы Жизнь
{} outtextxy(55,315,stri);
{}
{}
End;
Procedure Count;
{}
{} var
{} i,j:integer;
{}
Begin
{}
{} live:=0;
{} for i:=1 to 50 do
{} for j:=1 to 30 do
{} if A[i,j] then live :=live+1;
{}
End;
BEGIN
Setup;
i:=9;
j:=1;
InitGraph(i,j,'c:\dos');
SetColor(9);
While Change do
begin
{} step:=step+1;
{} FlipVP(VP);
{} Draw;
{} Count;