224                                              7. Ad hoc 

// 



I

set s(0x5555), t(010303021), w, x;

s.pr_mems(); fc.pr_mems() ;

w.pr_mems(); x.pr_mems() ;

w = s + t;                // 
x = s * t;                // 
t = t - s;                // 
s.pr_mems(); t.pr_mems() ;

w.pr_mems(); x.pr_mems() ;

}

 ,       ,   -
  set  Pascal.

18.   ++  --      , -
   .  ++  --   ( -
),      ,  
  :

class  {
public:

//   t.operator++(0 );

void operator++(int) ;

void operator--(int) ;

};

        -
 .       
clock   7.5,   ,  . 199.  
    , .   
,      ,    
   :

clock (60);

C++;               // 
--;               // 
.operator++(5);   // 1+5 
.operator--(5);   //  

19.  ->    ,    
-,      ,  
,    operator->.   
     .
 ,       
 .   , ,   -
 :