9.3.     MPI- 331

 . 9.3
                                

int MPI_Sendrecv_replace               -
(void *Buffer,int Count,          

MPI_Datatype Type,

int Destination,

int SendTag,

int Source,int RecvTag,

MPI_Conim Comm,

MPI_Status *Status);

       MPI-   -
  iostream-.   , 
 .

//.. .
int X;

float Y;

user_defined_type Z;

cout  X  Y  Z;

//. . .

           
cout.          "".
          in.

//. . .
int X;

float Y;

user_defined_type Z;

cin  X  Y  Z;

//. . .

       .   
     MPI-.  cout  
 ostream,   cin   istream.     -
 ""  ""   ++- . ,  ostream -
     "".

//. . .
ostream& operator(char ) ;

ostream& operator(unsigned char c) ;

ostream& operator(signed char c) ;

ostream& operator(const char *s) ;

ostream& operator(const unsigned char *s) ;

ostream& operator(const signed char *s) ;

ostream& operator(const void *p) ;

ostream& operator(int n) ;

ostream& operator(unsigned int n);

ostream& operator(long n) ;

ostream& operator(unsigned long n) ;

//. . .