Record Detail

Compile Error

/in/inDictionary.c: In function 'main':
/in/inDictionary.c:9:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
     for (int i = 0; i <= strlen(*argv); i++) {
                       ^~
/in/inDictionary.c:10:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
         for (int j = 0; j <= sizeof(*dictionary); j++) {
                           ^~
/in/inDictionary.c:8:9: error: unused variable 'dic' [-Werror=unused-variable]
     int dic[30];
         ^~~
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Midterm Exam 2
Language
C
Submit At
2022-07-07 15:31:31
Judged At
2022-07-08 16:05:53
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes