Record Detail

Compile Error

In file included from /in/Compile/dlist_pre.cpp:2:
In file included from /in/Compile/dlist.h:78:
/in/dlist_impl.h:133:9: error: reference to non-static member function must be called
    if(!isEmpty){
        ^~~~~~~
/in/dlist_impl.h:134:9: error: use of undeclared identifier 'Node'
        Node<P> *current = l.first;
        ^
/in/dlist_impl.h:134:14: error: use of undeclared identifier 'P'
        Node<P> *current = l.first;
             ^
/in/dlist_impl.h:134:18: error: use of undeclared identifier 'current'
        Node<P> *current = l.first;
                 ^
/in/dlist_impl.h:136:26: error: use of undeclared identifier 'current'
            T *o = new T(current->op);
                         ^
/in/dlist_impl.h:138:13: error: use of undeclared identifier 'current'
            current = current->next;
            ^
/in/dlist_impl.h:138:23: error: use of undeclared identifier 'current'
            current = current->next;
                      ^
/in/dlist_impl.h:139:17: error: use of undeclared identifier 'current'
        }while (current!=l.first)
                ^
8 errors generated.
/in/Compile/Makefile:29: recipe for target 'buildDlistPretest' failed
make: *** [buildDlistPretest] Error 1

Information

Submit By
Type
Submission
Homework
Project 5
Language
C++
Submit At
2022-12-17 20:47:59
Judged At
2022-12-17 20:47:59
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes