Record Detail

Compile Error

/in/main.c: In function 'main':
/in/main.c:21:16: error: 'o' undeclared (first use in this function)
     for (int i=o;i<16;i++){
                ^
/in/main.c:21:16: note: each undeclared identifier is reported only once for each function it appears in
/in/main.c:27:23: error: expected expression before '[' token
         node[i].right=[i*2+1];
                       ^
/in/main.c:29:5: error: implicit declaration of function 'transverse' [-Werror=implicit-function-declaration]
     transverse(node+1,k);
     ^~~~~~~~~~
/in/main.c: At top level:
/in/main.c:33:6: error: conflicting types for 'transverse' [-Werror]
 void transverse(node_t *root, int k){
      ^~~~~~~~~~
/in/main.c:29:5: note: previous implicit declaration of 'transverse' was here
     transverse(node+1,k);
     ^~~~~~~~~~
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Lab 5
Language
C
Submit At
2018-06-28 13:19:29
Judged At
2018-06-28 13:19:29
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes