Record Detail

Compile Error

/in/calc.cpp:18:22: error: use of undeclared identifier 'T'
void Print_all(Dlist<T> &stack){
                     ^
/in/calc.cpp:18:22: error: use of undeclared identifier 'T'
/in/calc.cpp:23:9: error: unknown type name 'T'
        T *cur = tem.removeBack();
        ^
/in/calc.cpp:230:12: error: no matching function for call to 'input'
    }while(input(stack),op);
           ^~~~~
/in/calc.cpp:178:6: note: candidate function not viable: requires 2 arguments, but 1 was provided
bool input( Dlist<int> &stack,string inputStr){
     ^
4 errors generated.
/in/Compile/Makefile:44: recipe for target 'buildCalc' failed
make: *** [buildCalc] Error 1

Information

Submit By
Type
Submission
Homework
Project Five: List, Stack, and Queue
Language
C++
Submit At
2019-12-07 10:39:44
Judged At
2019-12-07 10:39:44
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes