Record Detail

Compile Error

/in/blackjack.cpp: In function 'int main(int, char**)':
/in/blackjack.cpp:16:9: error: unused variable 'cut' [-Werror=unused-variable]
     int cut;
         ^~~
/in/blackjack.cpp:14:12: error: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Werror=unused-result]
     freopen("/home/spl666/Program280/project_4/test_out", "w", stdout);
     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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-24 13:40:28
Judged At
2024-11-24 13:40:28
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes