Record Detail

Compile Error

In file included from /in/compile/ex2.cpp:1:0:
/in/ex2.h: In function 'int hex2decLinkedList(Node*)':
/in/ex2.h:27:17: error: expected primary-expression before '->' token
     if(stoi(Node->val))
                 ^~
/in/ex2.h:28:1: error: expected primary-expression before '}' token
 }
 ^
/in/ex2.h:28:1: error: no return statement in function returning non-void [-Werror=return-type]
/in/ex2.h:25:29: error: unused parameter 'head' [-Werror=unused-parameter]
 int hex2decLinkedList(Node *head) {
                             ^~~~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Final Exam
Language
C++
Submit At
2022-08-02 15:44:46
Judged At
2022-08-06 15:13:28
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes