File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
// carddeck_3.c
2
2
// Chapter 16
3
- // <book title>
3
+ // Learn C Programming
4
4
//
5
5
// carddeck_3.c builds upon carddeck_2b.c.
6
6
// In this version, we add an structure with an array of structures, called Deck
7
7
// and some functions to manipulate the Deck array.
8
8
//
9
- // compile with cc carddeck_3.c -o carddeck_3 -Wall -Werror =std=c11
9
+ // compile with
10
+ //
11
+ // cc carddeck_3.c -o carddeck_3 -Wall -Werror =std=c11
10
12
//
11
13
12
14
30
32
// cards, etc.
31
33
kCardsInSuit = 13 , // For now, kCardsInDeck / 4. This will change
32
34
// depending upon the card game.
33
- kCardsInHand = 5 , // For now, 5 cards dealt for each hange. This will
35
+ kCardsInHand = 5 , // For now, 5 cards dealt for each hange. This will
34
36
// change depending upon the card game.
35
- kNumHands = 4 // For now, for hands per "table". This will change
37
+ kNumHands = 4 // For now, for hands per "table". This will change
36
38
// depending on the game we want to implement.
37
39
};
38
40
You can’t perform that action at this time.
0 commit comments