Record Detail

Compile Error

/in/blackjack.cpp: In function 'int main(int, char**)':
/in/blackjack.cpp:38:44: error: 'player' may be used uninitialized in this function [-Werror=maybe-uninitialized]
         int wager = player->bet(bankroll, 5);
                                            ^
cc1plus: all warnings being treated as errors
/in/compile/Makefile:25: recipe for target 'blackjack' failed
make: *** [blackjack] Error 1

Information

Submit By
Type
Submission
Homework
Project 4
Language
C++
Submit At
2024-11-25 14:09:34
Judged At
2024-11-25 14:09:34
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes