372                                        .   

.9.10.   new  delete

  new  delete      (tree
store).         
,      . -
       new,   , 
delete.

 C++  new   :

new _ ^'
new _[_]

        .  -
  ,   .  
        .   -
     .

 new	
new int new char[100] new int(99) new char('') new int [n] [4]	 int    100 char  int,  99  char,       int

        . -,  -
       . -, -
    (    new).  -
 new  ,     0,  
  (bad_alloc  xalloc), (.  11.10, -
    ,  . 324).   
.

      .  -
 ,   int,     . -
     ,     
   .     
 ,     .

 delete    :

delete 
delete[] 

      -, -
    new.     -
,      .   -
,        . 
delete    void.

'  pi (  optional)    -
  .  . .