418  11.     

 ,     .  FIFO- 
   mkfifoO.   45  46  11.3.1 FIFO-
    .     ,  -
  FIFO-,       .  
   .       -
 ()      ofstream  ifstream  
,   "".   32-34,   ostream_
iterator  ofstream      FIFO-. -
   ,   11.3.1       -
  .  11.3.1    , 
    FIFO- channel. 1   -
  FIFO- channel. 2.       -
   11.3.1,   .  -
    "  11.3.1".

  11.3.1

 

[programll-.



,     FIFO-  
 ostream_iterator  ofstream.     FIFO-
    ifstream.

 

<unistd.h>, <ioinanip>, <algorithm>, <fstream.h>,<vector>, <iterator>
;<strstream.h>,<stdlib.h>, <sys/waifc.h>,<sys/types.h>,<sys/stat.h>
<fcntl.h>,<numeric>.

     

C++ - programll- programll-.

  

SuSE Linux 7.1, gcc 2.95.2, Solaris 8, Sun Workshop 6.

  

./programll- & programll-



   11.3.1.  11.3.2  
sleep,      .

 11.3.2    FIFO- channel. 1  
  FIFO- channel. 2.

//  11.3.2.    FIFO-
//                  channel.1    