6.2.  PVM   C++ 229

1.67-27,.023+23,6.63-34,

3.14159265359};

N = pvm_initsend(PvmDataDefault) ;

pvm_pkint(&Choices,1,1) ;

pvm_send(TaskId,Messageld) ;

N = pvm_initsend(PvmDataDe?ault);

pvm__pkdouble(ImportantNumbers,5,1) ;

pvm_send(TaskId,Messageld) ;

}

  numericCoiribinations ()   6.4 PVM-  -
    ,    ,  . 
 colorCombinations ()    PVM-  
  :

pvm_pkbyte(Buf?er,strlen(Bu?fer),1) ;

pvm_send(TaskId,Message!d) ;

  numericCombinationO    PVM- 
:

pvm_pkdouble(ImportantNumbers,5,1) ;

pvm_send(TaskId,Message!d) ;

 colorCoiribinations()   6.4    ,
      Buffer  char.      -
 PVM-    pvm^pkbyte ()  pvm_send (). 
numericCombinations ()   6.5    double  
 PVM-    pvm_pkdouble ()  pvm_send().  -
   ,      double.   
PVM-       pvm_generic_combination. 
     ++-.   -
        ,     
    .    C++   -
. SPMD    .  pvm_generic_combination
 ,       . -
  ++-     -
 (vector<T>) .  pvm_generic_combination " ", 
      .   6.6    
 pvm_generic_combinat ion.

//  6.6.   Messageld 
//                

pvm_bufinfo(N,&NumBytes,&MessageId,&Ptid) ;

if(Messageld == 1){

vector<string> Source;

Bu? = new char[NumBytes];

pvm_upkbyte(Buf,NumBytes,1) ;

strstream Buffer;

Buffer  Buf  ends;

while(Buffer.good())

{

Buffer  Color;