Record Detail

Compile Error

/in/deck.cpp: In constructor 'Deck::Deck()':
/in/deck.cpp:12:22: error: 'Spades' was not declared in this scope
         deck[i].suit=Spades;
                      ^~~~~~
/in/deck.cpp:12:22: note: suggested alternative: 'SpotNames'
         deck[i].suit=Spades;
                      ^~~~~~
                      SpotNames
/in/deck.cpp:14:26: error: 'Two' was not declared in this scope
             deck[i].spot=Two;
                          ^~~
/in/deck.cpp:17:26: error: 'Three' was not declared in this scope
             deck[i].spot=Three;
                          ^~~~~
/in/deck.cpp:17:26: note: suggested alternative: 'free'
             deck[i].spot=Three;
                          ^~~~~
                          free
/in/deck.cpp:20:26: error: 'Four' was not declared in this scope
             deck[i].spot=Four;
                          ^~~~
/in/deck.cpp:23:26: error: 'Five' was not declared in this scope
             deck[i].spot=Five;
                          ^~~~
/in/deck.cpp:23:26: note: suggested alternative: 'div'
             deck[i].spot=Five;
                          ^~~~
                          div
/in/deck.cpp:26:26: error: 'Six' was not declared in this scope
             deck[i].spot=Six;
                          ^~~
/in/deck.cpp:29:26: error: 'Seven' was not declared in this scope
             deck[i].spot=Seven;
                          ^~~~~
/in/deck.cpp:32:26: error: 'Eight' was not declared in this scope
             deck[i].spot=Eight;
                          ^~~~~
/in/deck.cpp:35:26: error: 'Nine' was not declared in this scope
             deck[i].spot=Nine;
                          ^~~~
/in/deck.cpp:35:26: note: suggested alternative: 'uint'
             deck[i].spot=Nine;
                          ^~~~
                          uint
/in/deck.cpp:38:26: error: 'Ten' was not declared in this scope
             deck[i].spot=Ten;
                          ^~~
/in/deck.cpp:38:26: note: suggested alternative: 'Team'
             deck[i].spot=Ten;
                          ^~~
                          Team
/in/deck.cpp:41:26: error: 'Jack' was not declared in this scope
             deck[i].spot=Jack;
                          ^~~~
/in/deck.cpp:41:26: note: suggested alternative: 'Deck'
             deck[i].spot=Jack;
                          ^~~~
                          Deck
/in/deck.cpp:44:26: error: 'Queen' was not declared in this scope
             deck[i].spot=Queen;
                          ^~~~~
/in/deck.cpp:47:26: error: 'King' was not declared in this scope
             deck[i].spot=King;
                          ^~~~
/in/deck.cpp:47:26: note: suggested alternative: 'uint'
             deck[i].spot=King;
                          ^~~~
                          uint
/in/deck.cpp:50:26: error: 'Ace' was not declared in this scope
             deck[i].spot=Ace;
                          ^~~
/in/deck.cpp:55:25: error: 'Hearts' was not declared in this scope
         deck[i+13].suit=Hearts;
                         ^~~~~~
/in/deck.cpp:57:29: error: 'Two' was not declared in this scope
             deck[i+13].spot=Two;
                             ^~~
/in/deck.cpp:60:29: error: 'Three' was not declared in this scope
             deck[i+13].spot=Three;
                             ^~~~~
/in/deck.cpp:60:29: note: suggested alternative: 'free'
             deck[i+13].spot=Three;
                             ^~~~~
                             free
/in/deck.cpp:63:29: error: 'Four' was not declared in this scope
             deck[i+13].spot=Four;
                             ^~~~
/in/deck.cpp:66:29: error: 'Five' was not declared in this scope
             deck[i+13].spot=Five;
                             ^~~~
/in/deck.cpp:66:29: note: suggested alternative: 'div'
             deck[i+13].spot=Five;
                             ^~~~
                             div
/in/deck.cpp:69:29: error: 'Six' was not declared in this scope
             deck[i+13].spot=Six;
                             ^~~
/in/deck.cpp:72:29: error: 'Seven' was not declared in this scope
             deck[i+13].spot=Seven;
                             ^~~~~
/in/deck.cpp:75:29: error: 'Eight' was not declared in this scope
             deck[i+13].spot=Eight;
                             ^~~~~
/in/deck.cpp:78:29: error: 'Nine' was not declared in this scope
             deck[i+13].spot=Nine;
                             ^~~~
/in/deck.cpp:78:29: note: suggested alternative: 'uint'
             deck[i+13].spot=Nine;
                             ^~~~
                             uint
/in/deck.cpp:81:29: error: 'Ten' was not declared in this scope
             deck[i+13].spot=Ten;
                             ^~~
/in/deck.cpp:81:29: note: suggested alternative: 'Team'
             deck[i+13].spot=Ten;
                             ^~~
                             Team
/in/deck.cpp:84:29: error: 'Jack' was not declared in this scope
             deck[i+13].spot=Jack;
                             ^~~~
/in/deck.cpp:84:29: note: suggested alternative: 'Deck'
             deck[i+13].spot=Jack;
                             ^~~~
                             Deck
/in/deck.cpp:87:29: error: 'Queen' was not declared in this scope
             deck[i+13].spot=Queen;
                             ^~~~~
/in/deck.cpp:90:29: error: 'King' was not declared in this scope
             deck[i+13].spot=King;
                             ^~~~
/in/deck.cpp:90:29: note: suggested alternative: 'uint'
             deck[i+13].spot=King;
                             ^~~~
                             uint
/in/deck.cpp:93:29: error: 'Ace' was not declared in this scope
             deck[i+13].spot=Ace;
                             ^~~
/in/deck.cpp:98:25: error: 'Clubs' was not declared in this scope
         deck[i+26].suit=Clubs;
                         ^~~~~
/in/deck.cpp:98:25: note: suggested alternative: 'llabs'
         deck[i+26].suit=Clubs;
                         ^~~~~
                         llabs
/in/deck.cpp:100:29: error: 'Two' was not declared in this scope
             deck[i+26].spot=Two;
                             ^~~
/in/deck.cpp:103:29: error: 'Three' was not declared in this scope
             deck[i+26].spot=Three;
                             ^~~~~
/in/deck.cpp:103:29: note: suggested alternative: 'free'
             deck[i+26].spot=Three;
                             ^~~~~
                             free
/in/deck.cpp:106:29: error: 'Four' was not declared in this scope
             deck[i+26].spot=Four;
                             ^~~~
/in/deck.cpp:109:29: error: 'Five' was not declared in this scope
             deck[i+26].spot=Five;
                             ^~~~
/in/deck.cpp:109:29: note: suggested alternative: 'div'
             deck[i+26].spot=Five;
                             ^~~~
                             div
/in/deck.cpp:112:29: error: 'Six' was not declared in this scope
             deck[i+26].spot=Six;
                             ^~~
/in/deck.cpp:115:29: error: 'Seven' was not declared in this scope
             deck[i+26].spot=Seven;
                             ^~~~~
/in/deck.cpp:118:29: error: 'Eight' was not declared in this scope
             deck[i+26].spot=Eight;
                             ^~~~~
/in/deck.cpp:121:29: error: 'Nine' was not declared in this scope
             deck[i+26].spot=Nine;
                             ^~~~
/in/deck.cpp:121:29: note: suggested alternative: 'uint'
             deck[i+26].spot=Nine;
                             ^~~~
                             uint
/in/deck.cpp:124:29: error: 'Ten' was not declared in this scope
             deck[i+26].spot=Ten;
                             ^~~
/in/deck.cpp:124:29: note: suggested alternative: 'Team'
             deck[i+26].spot=Ten;
                             ^~~
                             Team
/in/deck.cpp:127:29: error: 'Jack' was not declared in this scope
             deck[i+26].spot=Jack;
                             ^~~~
/in/deck.cpp:127:29: note: suggested alternative: 'Deck'
             deck[i+26].spot=Jack;
                             ^~~~
                             Deck
/in/deck.cpp:130:29: error: 'Queen' was not declared in this scope
             deck[i+26].spot=Queen;
                             ^~~~~
/in/deck.cpp:133:29: error: 'King' was not declared in this scope
             deck[i+26].spot=King;
                             ^~~~
/in/deck.cpp:133:29: note: suggested alternative: 'uint'
             deck[i+26].spot=King;
                             ^~~~
                             uint
/in/deck.cpp:136:29: error: 'Ace' was not declared in this scope
             deck[i+26].spot=Ace;
                             ^~~
/in/deck.cpp:141:25: error: 'Diamonds' was not declared in this scope
         deck[i+39].suit=Diamonds;
                         ^~~~~~~~
/in/deck.cpp:143:29: error: 'Two' was not declared in this scope
             deck[i+39].spot=Two;
                             ^~~
/in/deck.cpp:146:29: error: 'Three' was not declared in this scope
             deck[i+39].spot=Three;
                             ^~~~~
/in/deck.cpp:146:29: note: suggested alternative: 'free'
             deck[i+39].spot=Three;
                             ^~~~~
                             free
/in/deck.cpp:149:29: error: 'Four' was not declared in this scope
             deck[i+39].spot=Four;
                             ^~~~
/in/deck.cpp:152:29: error: 'Five' was not declared in this scope
             deck[i+39].spot=Five;
                             ^~~~
/in/deck.cpp:152:29: note: suggested alternative: 'div'
             deck[i+39].spot=Five;
                             ^~~~
                             div
/in/deck.cpp:155:29: error: 'Six' was not declared in this scope
             deck[i+39].spot=Six;
                             ^~~
/in/deck.cpp:158:29: error: 'Seven' was not declared in this scope
             deck[i+39].spot=Seven;
                             ^~~~~
/in/deck.cpp:161:29: error: 'Eight' was not declared in this scope
             deck[i+39].spot=Eight;
                             ^~~~~
/in/deck.cpp:164:29: error: 'Nine' was not declared in this scope
             deck[i+39].spot=Nine;
                             ^~~~
/in/deck.cpp:164:29: note: suggested alternative: 'uint'
             deck[i+39].spot=Nine;
                             ^~~~
                             uint
/in/deck.cpp:167:29: error: 'Ten' was not declared in this scope
             deck[i+39].spot=Ten;
                             ^~~
/in/deck.cpp:167:29: note: suggested alternative: 'Team'
             deck[i+39].spot=Ten;
                             ^~~
                             Team
/in/deck.cpp:170:29: error: 'Jack' was not declared in this scope
             deck[i+39].spot=Jack;
                             ^~~~
/in/deck.cpp:170:29: note: suggested alternative: 'Deck'
             deck[i+39].spot=Jack;
                             ^~~~
                             Deck
/in/deck.cpp:173:29: error: 'Queen' was not declared in this scope
             deck[i+39].spot=Queen;
                             ^~~~~
/in/deck.cpp:176:29: error: 'King' was not declared in this scope
             deck[i+39].spot=King;
                             ^~~~
/in/deck.cpp:176:29: note: suggested alternative: 'uint'
             deck[i+39].spot=King;
                             ^~~~
                             uint
/in/deck.cpp:179:29: error: 'Ace' was not declared in this scope
             deck[i+39].spot=Ace;
                             ^~~
/in/deck.cpp: In member function 'void Deck::reset()':
/in/deck.cpp:188:22: error: 'Spades' was not declared in this scope
         deck[i].suit=Spades;
                      ^~~~~~
/in/deck.cpp:188:22: note: suggested alternative: 'SpotNames'
         deck[i].suit=Spades;
                      ^~~~~~
                      SpotNames
/in/deck.cpp:190:26: error: 'Two' was not declared in this scope
             deck[i].spot=Two;
                          ^~~
/in/deck.cpp:193:26: error: 'Three' was not declared in this scope
             deck[i].spot=Three;
                          ^~~~~
/in/deck.cpp:193:26: note: suggested alternative: 'free'
             deck[i].spot=Three;
                          ^~~~~
                          free
/in/deck.cpp:196:26: error: 'Four' was not declared in this scope
             deck[i].spot=Four;
                          ^~~~
/in/deck.cpp:199:26: error: 'Five' was not declared in this scope
             deck[i].spot=Five;
                          ^~~~
/in/deck.cpp:199:26: note: suggested alternative: 'div'
             deck[i].spot=Five;
                          ^~~~
                          div
/in/deck.cpp:202:26: error: 'Six' was not declared in this scope
             deck[i].spot=Six;
                          ^~~
/in/deck.cpp:205:26: error: 'Seven' was not declared in this scope
             deck[i].spot=Seven;
                          ^~~~~
/in/deck.cpp:208:26: error: 'Eight' was not declared in this scope
             deck[i].spot=Eight;
                          ^~~~~
/in/deck.cpp:211:26: error: 'Nine' was not declared in this scope
             deck[i].spot=Nine;
                          ^~~~
/in/deck.cpp:211:26: note: suggested alternative: 'uint'
             deck[i].spot=Nine;
                          ^~~~
                          uint
/in/deck.cpp:214:26: error: 'Ten' was not declared in this scope
             deck[i].spot=Ten;
                          ^~~
/in/deck.cpp:214:26: note: suggested alternative: 'Team'
             deck[i].spot=Ten;
                          ^~~
                          Team
/in/deck.cpp:217:26: error: 'Jack' was not declared in this scope
             deck[i].spot=Jack;
                          ^~~~
/in/deck.cpp:217:26: note: suggested alternative: 'Deck'
             deck[i].spot=Jack;
                          ^~~~
                          Deck
/in/deck.cpp:220:26: error: 'Queen' was not declared in this scope
             deck[i].spot=Queen;
                          ^~~~~
/in/deck.cpp:223:26: error: 'King' was not declared in this scope
             deck[i].spot=King;
                          ^~~~
/in/deck.cpp:223:26: note: suggested alternative: 'uint'
             deck[i].spot=King;
                          ^~~~
                          uint
/in/deck.cpp:226:26: error: 'Ace' was not declared in this scope
             deck[i].spot=Ace;
                          ^~~
/in/deck.cpp:231:25: error: 'Hearts' was not declared in this scope
         deck[i+13].suit=Hearts;
                         ^~~~~~
/in/deck.cpp:233:29: error: 'Two' was not declared in this scope
             deck[i+13].spot=Two;
                             ^~~
/in/deck.cpp:236:29: error: 'Three' was not declared in this scope
             deck[i+13].spot=Three;
                             ^~~~~
/in/deck.cpp:236:29: note: suggested alternative: 'free'
             deck[i+13].spot=Three;
                             ^~~~~
                             free
/in/deck.cpp:239:29: error: 'Four' was not declared in this scope
             deck[i+13].spot=Four;
                             ^~~~
/in/deck.cpp:242:29: error: 'Five' was not declared in this scope
             deck[i+13].spot=Five;
                             ^~~~
/in/deck.cpp:242:29: note: suggested alternative: 'div'
             deck[i+13].spot=Five;
                             ^~~~
                             div
/in/deck.cpp:245:29: error: 'Six' was not declared in this scope
             deck[i+13].spot=Six;
                             ^~~
/in/deck.cpp:248:29: error: 'Seven' was not declared in this scope
             deck[i+13].spot=Seven;
                             ^~~~~
/in/deck.cpp:251:29: error: 'Eight' was not declared in this scope
             deck[i+13].spot=Eight;
                             ^~~~~
/in/deck.cpp:254:29: error: 'Nine' was not declared in this scope
             deck[i+13].spot=Nine;
                             ^~~~
/in/deck.cpp:254:29: note: suggested alternative: 'uint'
             deck[i+13].spot=Nine;
                             ^~~~
                             uint
/in/deck.cpp:257:29: error: 'Ten' was not declared in this scope
             deck[i+13].spot=Ten;
                             ^~~
/in/deck.cpp:257:29: note: suggested alternative: 'Team'
             deck[i+13].spot=Ten;
                             ^~~
                             Team
/in/deck.cpp:260:29: error: 'Jack' was not declared in this scope
             deck[i+13].spot=Jack;
                             ^~~~
/in/deck.cpp:260:29: note: suggested alternative: 'Deck'
             deck[i+13].spot=Jack;
                             ^~~~
                             Deck
/in/deck.cpp:263:29: error: 'Queen' was not declared in this scope
             deck[i+13].spot=Queen;
                             ^~~~~
/in/deck.cpp:266:29: error: 'King' was not declared in this scope
             deck[i+13].spot=King;
                             ^~~~
/in/deck.cpp:266:29: note: suggested alternative: 'uint'
             deck[i+13].spot=King;
                             ^~~~
                             uint
/in/deck.cpp:269:29: error: 'Ace' was not declared in this scope
             deck[i+13].spot=Ace;
                             ^~~
/in/deck.cpp:274:25: error: 'Clubs' was not declared in this scope
         deck[i+26].suit=Clubs;
                         ^~~~~
/in/deck.cpp:274:25: note: suggested alternative: 'llabs'
         deck[i+26].suit=Clubs;
                         ^~~~~
                         llabs
/in/deck.cpp:276:29: error: 'Two' was not declared in this scope
             deck[i+26].spot=Two;
                             ^~~
/in/deck.cpp:279:29: error: 'Three' was not declared in this scope
             deck[i+26].spot=Three;
                             ^~~~~
/in/deck.cpp:279:29: note: suggested alternative: 'free'
             deck[i+26].spot=Three;
                             ^~~~~
                             free
/in/deck.cpp:282:29: error: 'Four' was not declared in this scope
             deck[i+26].spot=Four;
                             ^~~~
/in/deck.cpp:285:29: error: 'Five' was not declared in this scope
             deck[i+26].spot=Five;
                             ^~~~
/in/deck.cpp:285:29: note: suggested alternative: 'div'
             deck[i+26].spot=Five;
                             ^~~~
                             div
/in/deck.cpp:288:29: error: 'Six' was not declared in this scope
             deck[i+26].spot=Six;
                             ^~~
/in/deck.cpp:291:29: error: 'Seven' was not declared in this scope
             deck[i+26].spot=Seven;
                             ^~~~~
/in/deck.cpp:294:29: error: 'Eight' was not declared in this scope
             deck[i+26].spot=Eight;
                             ^~~~~
/in/deck.cpp:297:29: error: 'Nine' was not declared in this scope
             deck[i+26].spot=Nine;
                             ^~~~
/in/deck.cpp:297:29: note: suggested alternative: 'uint'
             deck[i+26].spot=Nine;
                             ^~~~
                             uint
/in/deck.cpp:300:29: error: 'Ten' was not declared in this scope
             deck[i+26].spot=Ten;
                             ^~~
/in/deck.cpp:300:29: note: suggested alternative: 'Team'
             deck[i+26].spot=Ten;
                             ^~~
                             Team
/in/deck.cpp:303:29: error: 'Jack' was not declared in this scope
             deck[i+26].spot=Jack;
                             ^~~~
/in/deck.cpp:303:29: note: suggested alternative: 'Deck'
             deck[i+26].spot=Jack;
                             ^~~~
                             Deck
/in/deck.cpp:306:29: error: 'Queen' was not declared in this scope
             deck[i+26].spot=Queen;
                             ^~~~~
/in/deck.cpp:309:29: error: 'King' was not declared in this scope
             deck[i+26].spot=King;
                             ^~~~
/in/deck.cpp:309:29: note: suggested alternative: 'uint'
             deck[i+26].spot=King;
                             ^~~~
                             uint
/in/deck.cpp:312:29: error: 'Ace' was not declared in this scope
             deck[i+26].spot=Ace;
                             ^~~
/in/deck.cpp:317:25: error: 'Diamonds' was not declared in this scope
         deck[i+39].suit=Diamonds;
                         ^~~~~~~~
/in/deck.cpp:319:29: error: 

Information

Submit By
Type
Submission
Homework
Project 3: Blackjack
Language
C++
Submit At
2021-07-12 22:06:48
Judged At
2021-07-24 20:53:30
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes