Record Detail

Compile Error

/in/call.cpp:23:5: error: use of undeclared identifier 'Dlist'
    Dlist<person> *pla=new Dlist<person>;
    ^
/in/call.cpp:23:11: error: 'person' does not refer to a value
    Dlist<person> *pla=new Dlist<person>;
          ^
/in/call.cpp:11:8: note: declared here
struct person{
       ^
/in/call.cpp:23:20: error: use of undeclared identifier 'pla'
    Dlist<person> *pla=new Dlist<person>;
                   ^
/in/call.cpp:23:28: error: no template named 'Dlist'
    Dlist<person> *pla=new Dlist<person>;
                           ^
/in/call.cpp:24:5: error: use of undeclared identifier 'Dlist'
    Dlist<person> *gol=new Dlist<person>;
    ^
/in/call.cpp:24:11: error: 'person' does not refer to a value
    Dlist<person> *gol=new Dlist<person>;
          ^
/in/call.cpp:11:8: note: declared here
struct person{
       ^
/in/call.cpp:24:20: error: use of undeclared identifier 'gol'
    Dlist<person> *gol=new Dlist<person>;
                   ^
/in/call.cpp:24:28: error: no template named 'Dlist'
    Dlist<person> *gol=new Dlist<person>;
                           ^
/in/call.cpp:25:5: error: use of undeclared identifier 'Dlist'
    Dlist<person> *sil=new Dlist<person>;
    ^
/in/call.cpp:25:11: error: 'person' does not refer to a value
    Dlist<person> *sil=new Dlist<person>;
          ^
/in/call.cpp:11:8: note: declared here
struct person{
       ^
/in/call.cpp:25:20: error: use of undeclared identifier 'sil'
    Dlist<person> *sil=new Dlist<person>;
                   ^
/in/call.cpp:25:28: error: no template named 'Dlist'
    Dlist<person> *sil=new Dlist<person>;
                           ^
/in/call.cpp:26:5: error: use of undeclared identifier 'Dlist'
    Dlist<person> *reg=new Dlist<person>;
    ^
/in/call.cpp:26:11: error: 'person' does not refer to a value
    Dlist<person> *reg=new Dlist<person>;
          ^
/in/call.cpp:11:8: note: declared here
struct person{
       ^
/in/call.cpp:26:20: error: use of undeclared identifier 'reg'
    Dlist<person> *reg=new Dlist<person>;
                   ^
/in/call.cpp:26:28: error: no template named 'Dlist'
    Dlist<person> *reg=new Dlist<person>;
                           ^
/in/call.cpp:44:13: error: use of undeclared identifier 'pla'
            pla->insertBack(p);
            ^
/in/call.cpp:47:13: error: use of undeclared identifier 'gol'
            gol->insertBack(p);
            ^
/in/call.cpp:50:13: error: use of undeclared identifier 'sil'
            sil->insertBack(p);
            ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 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
2020-12-15 23:24:29
Judged At
2020-12-15 23:24:29
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes