Record Detail

Compile Error

/in/ex3.cpp: In function 'int main(int, char**)':
/in/ex3.cpp:64:26: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
         for(int i = 0; i < message.size(); i++){
                        ~~^~~~~~~~~~~~~~~~
/in/ex3.cpp:101:26: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
         for(int i = 0; i < message.size(); i += 3){
                        ~~^~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
/in/compile/Makefile:20: recipe for target 'ex3.o' failed
make: *** [ex3.o] Error 1

Information

Submit By
Type
Submission
Homework
Exercise 3
Language
C++
Submit At
2024-11-01 17:41:30
Judged At
2024-11-01 17:41:30
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes