Record Detail

Compile Error

/in/inDictionary.c: In function 'inDictionary':
/in/inDictionary.c:13:3: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
 *w=argv[i+1];
   ^
/in/inDictionary.c:17:20: error: assignment to expression with array type
         dic[i].word="  ";
                    ^
/in/inDictionary.c:20:20: error: assignment to expression with array type
         dic[i].word=*w;
                    ^
/in/inDictionary.c:10:22: error: unused parameter 'argc' [-Werror=unused-parameter]
 int inDictionary(int argc,char* argv[]){
                      ^~~~
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Problem
mid2 ex1
Homework
Mid2
Language
C
Submit At
2023-07-13 15:41:23
Judged At
2023-08-05 22:15:29
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes