256  7.  ,    ...

 .      ()  
        ,
   .      -
 ,   ,  (  -
) ,      ,
  .    ,     
     .       -
    .     -
    ,    
    ,     C++.

7.6.   
  

  ()      -
     .    -
    . ,     
    :

// . . .
map<int,string> ErrorTable;

ErrorTable[123] = "  ";

ErrorTable[4556] = "  ";

//. . .

  123    "  ".   


cout  Error-Table [123]  endl;

    cout    "    ".

    ,   
(..  )   , 
  .  ,     -
      ,  
 ,        .  
  ,    ,  
     (    ). , -
,        :

de?ect_response:

class defect_response{
protected:

//. . .

int DefectNo;

string Explanation;

public:

bool operator<(defect_response &X) ;

virtual int doSomething(void);

string explanation(void);