. 12.                               ______________________385

   (promotion) ,   -
 .     float  double,  -
 bool, char, short   int.  ,   
  .

,    .  
 ,    (cast).   -
   .

. 11.6.    

   -++       -
 .   :

extern "" atoi(const char* nptr); //-

extern "" {         //-  

^include <stdio.h>

}

      .   -
        .   -
     ,     
     C++ . -   
     .

. 12. 

      .   -
  , ,    -,  
 ,    . 
:

  vect3.h

//     vect

class vect {

public:

explicit vect(int n=10);         //  

vect(const vecfc& v);             // 

vect(const int a[], int n);      // 

-vect() { delete [] p; }         //

int ub() const;                 // 

int& operator[](int i) const;    //

vect& operator=(const vect& v); //

friend ostreamu operator(ostream& out, const vect& v) ;

private:

int *p;     // 
int size;   // 

};