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

                                                                                                            {

                                                                                                                              m_pcpu[gg]->pnumzad[n]=m_pcpu[gg]->pnumzad[n+1];

                                                                                                                              m_pcpu[gg]->ppispcpu[n]=m_pcpu[gg]->ppispcpu[n+1];

                                                                                                                                                //fl=1;

                                                                                                            }

                                                                                                            m_pcpu[gg]->kolzad=m_pcpu[gg]->kolzad-1;

                                                                                                                              v=0;

                                                                                          }

                                                                        }

                                                      }

                                                      zadacha *g=m_pz[i];

                                                      for(int t=i;m_pz[t]!=NULL;t++)

                                                      {

                                                                        m_pz[t]=m_pz[t+1];

                                                      }

                                                      if(g!=NULL){delete g;}

                                                      m_kolz--;i--;

                                    }

                  }

                  AddstrLcpu();

                  if(kolzocher==0)return;

                  int SumTr=0;

for(;kolzocher>0;)

{//if(ocher[kolzocher-1]->P>4800-SumTr)

                  SumTr=SumT();

                  if(4800-SumTr<=0)

                  {AddstrLcpu();

                                    //AfxMessageBox("Система перегружена!!! ВВод задачи невозможен");

                                    //delete m_pz[m_kolz];

                                    return;

                  }

                  //AfxMessageBox("Система перегруже");

m_pz[m_kolz]=ocher[--kolzocher];

                  RasprZad(m_pz[m_kolz],m_pz[m_kolz]->P);

                  m_kolz++;

                  AddstrLcpu();

}

                  //m_numzp++;

                  //UpdateData(FALSE);

}

// vkss1View.h : interface of the CVkss1View class

#include "Vkss1Dlg.h"

class CVkss1View : public CView

{

protected: // create from serialization only

                  CVkss1View();

                  DECLARE_DYNCREATE(CVkss1View)

public:

                  CVkss1Doc* GetDocument();

public:

                  CDC m_memDC;

                  CBitmap m_bmp;

                  CBrush m_bkbrush;

                  int maxX,maxY,one;

                  afx_msg    void virtwin();

                  afx_msg    void WhiteBckgn();

// Overrides

                  //{{AFX_VIRTUAL(CVkss1View)

                  public:

                  virtual void OnDraw(CDC* pDC);  // overridden to draw this view

                  virtual BOOL PreCreateWindow(CREATESTRUCT& cs);

                  protected:

                  //}}AFX_VIRTUAL

public:

                  virtual ~CVkss1View();

#ifdef _DEBUG

                  virtual void AssertValid() const;

                  virtual void Dump(CDumpContext& dc) const;

#endif

protected:

protected:

                  //{{AFX_MSG(CVkss1View)

                  afx_msg void OnParametrs();

                  afx_msg void OnPaint();

                  //}}AFX_MSG

                  DECLARE_MESSAGE_MAP()

};

#ifndef _DEBUG  // debug version in vkss1View.cpp