                      _______ ____________________127

deq -> top = deq -> bottom = max_len / 2;

deq -> top--;

}

   push_t (), pop_t (), push_b(), pop_b(),
out_stack(), top_of(), bottom_of(), empty   full(). 
push_t ()    (push on top).  push_b () -
    (push on bottom).  out_stack ()  -
    .  pop_t ()  _ () 
  (pop from top)    (pop from bottom).  -
  ,     (empty) .  -
 .

11.    ch_deque   relocate (). 
ch_deque ,   relocate (),   ch_deque -
    ,   
max_len/2  s .     :

// true,   , false   
bool relocate(ch_deque* deq)

12.  ,      .  
    ,    ,   -
.         . -
   deque    . 
       ,  
    .    :

void swap(char sl[], char s2 [ ] ) ;

13.   pr_hand (),    . -
   ^   4.6, : ,  . 116  -
    .

14.   4.6, : ,  . 116  main ()  
.  

bool isflush(const card hand[], int nc) ;

   true,     .

15.  

bool isstraight(const card hand[], int nc) ;

   true,    .  (straight) 
    .    -
 , , , , .    , ,
, , .  ,    ,
    ,       
 . :      15    -
   .  ,    