 - . ,    
        .   
    ,   
         
  . 

    

         ,    
     TTime    
 Project  CONSTRUC.IDE,   CONSTRUC.CPP    
 ,          mane()  
 <F5>       .   
     .      
    .  <Ctrl+F9>     
.      .    
,     ,  <F9>    
 .       .  
<Ctrl+F9>          
   <F7>     ,       
  .      ,   
  .

      

           TTime  
TIME6.H  TIME6.CPP ( 13.18  13.19),   ,  
           
.   13.21,   DOS  bcc destruc timeG 
        Project   
DESTRUC.IDE;  <Ctrl+F9>       
 Easy Win.  DESTRUC   TIME6   
     TIME6   DOS, ,  , 
   Project\Build all     

     13.21.   DESTRUC.CPP (  TTime) 

    1:   #include <iostream.h> 
    2:   #include <stdio.h> 
    3:   #include "time6.h" 
    4: 
    5:   void f(void); 
    6: 
    7:   main() 
    8:    { 
    9:       f(); 
   10:     return 0; 
   11:    } 
   12: 
   13:   void f(void) 
   14:    { 
   15:     TTime today; 
   16:     const char *sp; 
   17: 
   18:     sp = today.GetSTime(); 
   19:     cout  "First time:   "  sp ; 
   10:     sp = today.GetSTime(); 
   11:     cout  "Second time:   "  sp; 
   12:    } 
    
     main()  DESTRUC.CPP    f(),   
 13-22.     15    
 TTime today,     .   
      ,    
, C++   today  Ttime()     
 ,    .    
    . (      
     .) 
      18-21  - GetSTime()    
today.         sp. 
   13.19,     GetSTime() ( 
66-72). -  ,     dts .  
,   dts,   strdup()  ctimeO   
      ,      
  dts    .  

     13.       327 
