142  5.    - 

dk.init_deck() ;

dk.print() ;

dk.shuffle() ;

for (j = 0; j < nc; ++j)
sval[one_hand[j].s]++ ;

5.6.   

         -
 static.  ,    static,   -
       .    -
    .      
, ,    ,    -
 .         .
    ,     
,     .

         ,  
   :

- : : 

     .   -
           .
:

class str {
public:

static int how_many;    //

void print() ;

void assign(const char*);

private:                  //   
char s[100J;           //  

int str::how_many = 0     //  

    how_many  ,   -
    str. ,

str si, s2, s3, *p;

str: : how_many =3;        //  : :

str t;

t.how_many++;             //  