Record Detail

Compile Error

In file included from /in/call.cpp:1:
In file included from /in/Compile/dlist.h:76:
/in/Compile/dlist_ins_impl.h:18:16: error: use of undeclared identifier 'NULL'
    np->prev = NULL;
               ^
/in/Compile/dlist_ins_impl.h:20:20: error: use of undeclared identifier 'NULL'
    if(np->next == NULL)
                   ^
/in/Compile/dlist_ins_impl.h:32:13: error: use of undeclared identifier 'NULL'
        np->next = NULL;
                   ^
/in/Compile/dlist_ins_impl.h:35:20: error: use of undeclared identifier 'NULL'
    if(np->prev == NULL)
                   ^
/in/Compile/dlist_ins_impl.h:57:17: error: use of undeclared identifier 'NULL'
    if(first == NULL)
                ^
/in/Compile/dlist_ins_impl.h:58:16: error: use of undeclared identifier 'NULL'
        last = NULL;
               ^
/in/Compile/dlist_ins_impl.h:60:23: error: use of undeclared identifier 'NULL'
        first->prev = NULL;
                      ^
/in/Compile/dlist_ins_impl.h:80:16: error: use of undeclared identifier 'NULL'
    if(last == NULL)
               ^
/in/Compile/dlist_ins_impl.h:81:17: error: use of undeclared identifier 'NULL'
        first = NULL;
                ^
/in/Compile/dlist_ins_impl.h:83:22: error: use of undeclared identifier 'NULL'
        last->next = NULL;
                     ^
/in/Compile/dlist_ins_impl.h:123:26: error: use of undeclared identifier 'NULL'
Dlist<T>::Dlist(): first(NULL), last(NULL)
                         ^
/in/Compile/dlist_ins_impl.h:123:38: error: use of undeclared identifier 'NULL'
Dlist<T>::Dlist(): first(NULL), last(NULL)
                                     ^
/in/Compile/dlist_ins_impl.h:128:40: error: use of undeclared identifier 'NULL'
Dlist<T>::Dlist(const Dlist &l): first(NULL), last(NULL)
                                       ^
/in/Compile/dlist_ins_impl.h:128:52: error: use of undeclared identifier 'NULL'
Dlist<T>::Dlist(const Dlist &l): first(NULL), last(NULL)
                                                   ^
14 errors generated.
/in/Compile/Makefile:39: recipe for target 'buildCall' failed
make: *** [buildCall] Error 1

Information

Submit By
Type
Submission
Homework
Project Five: List, Stack, and Queue
Language
C++
Submit At
2018-08-02 01:34:12
Judged At
2018-08-02 01:34:12
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes