Структура вычислительной системы: трехмерная с размерностью 4х4х3, страница 7

                                                      //m_pcpu[m_ndelcpu-1]->pnumzad[i]=0;

                                                      trz=m_pcpu[m_ndelcpu-1]->ppispcpu[i];

                                                      //for(int r=i;m_pcpu[m_ndelcpu-1]->pnumzad[r]!=0;r++)

                                                      //m_pcpu[m_ndelcpu-1]->ppispcpu[i]=0;

                                                      for(int k=0;k<m_kolz;k++)

                                                      {

                                                                        if(m_pz[k]->numzad==nz)

                                                                        {

                                                                                          flag1=0;

                                                                                          for(int a=0;m_pz[k]->numcpu[a]!=0;a++)

                                                                                          {

                                                                                                            if(m_pz[k]->numcpu[a]==m_pcpu[m_ndelcpu-1]->numcpu)

                                                                                                            {

                                                                                                                              for(int g=a;m_pz[k]->numcpu[g]!=0;g++)

                                                                                                                              {

                                                                                                                                                m_pz[k]->numcpu[g]=m_pz[k]->numcpu[g+1];

                                                                                                                              }

                                                                                                            }

                                                                                          }

                                                                                          RasprZad(m_pz[k],trz);

                                                                                          break;

                                                                        }

                                                      }

                                    }

                                    m_pcpu[m_ndelcpu-1]->kolzad=0;

                                    AddstrLcpu();

}

void CVkss1Dlg::OnChangeEdit1()

{UpdateData(TRUE);}

void CVkss1Dlg::OnChangeEdit2()

{UpdateData(TRUE);}

void CVkss1Dlg::OnChangendelcpu()

{UpdateData(TRUE);}

void CVkss1Dlg::OnClok()

{int fl=0,flocher=0;

                  // TODO: Add your control notification handler code here

                  for(int i=0;i<m_kolz;i++)

                  {

                                    m_pz[i]->time-=1;

                                    if(m_pz[i]->time==0)

                                    {flocher=1;

                                                      for(int x=0;m_pz[i]->numcpu[x]!=0;x++)

                                                      { int gg=m_pz[i]->numcpu[x]-1;

                                                                        for(int v=0;v<m_pcpu[gg]->kolzad;v++)

                                                                        {

                                                                                          if(m_pz[i]->numzad==m_pcpu[gg]->pnumzad[v])

                                                                                          {

                                                                                                            for(int n=v;m_pcpu[gg]->pnumzad[n]!=0;n++)