1.2.    C++                                          19

 . ,       ,  
     .

      .    -
   - ,   ,      
  .  ,  ,  
.   ,       -
,  , ,      
. ,     .  
  ,   ,   
       <?().

 C++      
(encapsulation)   .    ,   -
,      ,  ,  
  ,       .  -
     ,    .
,        ,  -
        push (  )  pop
(  ).        
  ,  push  pop   . ,  -
 ,   .      .

       ,  :

 

     

   ,  

   

      

      

     ,   , 
  .      , 
   ,   -
   .

1.2.    C++

C++          .   -
   ,   . C++  --
 ,      -
 ,   .   
   ,         
 .

  hello, 

//    C++

ttinclude <iostream.h>     // -
^include <string>         // 