242                                    8. :   

t emp = x ;

 = ;

 = t emp ;

}

int main()
{

rny_string ("   "), ("  ");

cout  b    endl;

swap(b, ) ;

cout  b    endl;

}

8.      my_string   
  .  : my_string (from, to).  from
   , a to  .

my_string my_string::operator()(int from, int to)
{

my_string temp(to - from +1);

for (int i = from; i < to + 1; ++i)
temp.st -> s[i - from] = st -> s[i];

temp.st[to - from + 1] = 0;

return temp;

}

          -
     true,   -
 .

9.    ,   char*.
   ?     ,  
         :

int mainf)
{

my_string large("   ");

for (i = 0; i < MANY; ++i)

count += (large(i, i + 3) == "");}

    operator== (),   my_string.
10.  

void reverse(double data[], int size); // 
//
//

//data[size]  

//     

//   ,    data[]