>.    ______________________27

else

two.print() ;

both = one + two; //   
both.print() ;

}

  operator+()

 my_string& operator+(const my_string& a, const my_string& b)

 .    ,   my_string.  
 .   munSc     -
-.   const ,     
.

 my_string* temp = new my_string(a.len + b.len);

     my_string.   
     my_string   -
.        new.

 return *temp;

  t emp    my_string.

1.6.    

  template   C++   
.       
     ,     . 
 .        -
  .      
 . , , ,      -
  .     stack, -
   :

  tstack.cpp

//  stack

template <class TYPE>

class stack {

public:

explicit stack(int size = 1000) : max_len(size)

{ s = new TYPE[size]; top = EMPTY; }
~stack() { delete []s; }

void reset() { top = EMPTY; }        // 
void push(TYPE c) { s[++top] = ; } //  
TYPE pop() { return s[top--]; }      //  