Record Detail

Compile Error

/in/calc.cpp:65:43: error: too few arguments to function call, single argument 'op' was not specified
            int first = *list.insertFront();
                         ~~~~~~~~~~~~~~~~ ^
/in/Compile/dlist.h:21:5: note: 'insertFront' declared here
    void insertFront(T *op);
    ^
/in/calc.cpp:104:28: error: reference to non-static member function must be called; did you mean to call it with no arguments?
         int first = *list.removeFront;
                      ~~~~~^~~~~~~~~~~
                                      ()
/in/calc.cpp:105:29: error: reference to non-static member function must be called; did you mean to call it with no arguments?
         int second = *list.removeFront;
                       ~~~~~^~~~~~~~~~~
                                       ()
/in/calc.cpp:125:30: error: too few arguments to function call, single argument 'op' was not specified
            list.insertFront();
            ~~~~~~~~~~~~~~~~ ^
/in/Compile/dlist.h:21:5: note: 'insertFront' declared here
    void insertFront(T *op);
    ^
4 errors generated.
/in/Compile/Makefile:44: recipe for target 'buildCalc' failed
make: *** [buildCalc] Error 1

Information

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