11.5. -   FIFO-... 413

  .      -
 11.2      ,  :

OPipe  X.size()  endl;

        ++-
:

copy(X.begin(),X.end(),OPtr) ;

 copy ()      , -
   .      OPtr.
 OPtr    OPipe,     
(""    )      -
.       -
        -
   .     copy () -
      (  
  ).    ,   copy ()
    .    -
 , ,    -    -
   ,    .
          -
   . ++-,  -
 iostreamS    ostream_iterator      -
    .   flush
(  33)     .   -
    ,   ,    
,    "  11.2".

'~s

  11.2|

 

programll-2.



    iostreams   
_1      
 .

 

<algorithm>, <?stream>, <vector>, <iterator>, <stdlib.h>, <string.h|
<unistd.h>.                                                       '1

                         J

C++ - prograinll-2 programll-2 .                                 llH

                                             

SuSE Linux 7.1, 6.2. ," ,    .     ,                            :|

                                        |

./programll-2                                                  ^H|U