Playing cards: Difference between revisions
Content added Content deleted
m (fix bare <lang> tags) |
m (→{{header|C}}: bizarre!) |
||
Line 369: | Line 369: | ||
//free(d); |
//free(d); |
||
return 0; |
return 0; |
||
}</lang>output |
|||
⚫ | |||
<pre> |
|||
⚫ | |||
Shuffle and deal to three players: |
Shuffle and deal to three players: |
||
Line 375: | Line 377: | ||
♥3 ♠5 ♣5 ♠A ♦6 |
♥3 ♠5 ♣5 ♠A ♦6 |
||
♣8 ♥J ♠4 ♠3 ♣A |
♣8 ♥J ♠4 ♠3 ♣A |
||
Left in deck 37 cards: ♥8 ♣10 ♣K ♦2 ♦A ♥10 ♥6 ♥Q ♠6 ♦4 ♥9 ♠9 ♣6 ♦K ♦8 ♠7 ♣7 ♠K ♠2 ♣4 ... |
Left in deck 37 cards: ♥8 ♣10 ♣K ♦2 ♦A ♥10 ♥6 ♥Q ♠6 ♦4 ♥9 ♠9 ♣6 ♦K ♦8 ♠7 ♣7 ♠K ♠2 ♣4 ... |
||
</pre> |
|||
See also [[Playing Cards/C]] |
See also [[Playing Cards/C]] |
||