Record Detail

Compile Error

/in/calc.cpp:48:13: error: no member named 'printList' in 'Dlist<std::__cxx11::basic_string<char> >'
    dlistp->printList();
    ~~~~~~  ^
/in/calc.cpp:247:29: error: use of undeclared identifier 'to_string'
        T *frontnew = new T(to_string(-stoi(*front)));
                            ^
/in/calc.cpp:219:9: note: in instantiation of function template specialization 'neg<std::__cxx11::basic_string<char> >' requested here
        neg(dlist);
        ^
/in/calc.cpp:42:13: note: in instantiation of function template specialization 'calc<std::__cxx11::basic_string<char> >' requested here
            calc(dlistp, is);
            ^
/in/calc.cpp:82:32: error: use of undeclared identifier 'to_string'
                T *fo3 = new T(to_string(stoi(*fo1) + stoi(*fo2)));
                               ^
/in/calc.cpp:224:9: note: in instantiation of function template specialization 'arithm<std::__cxx11::basic_string<char> >' requested here
        arithm(dlist, is);
        ^
/in/calc.cpp:42:13: note: in instantiation of function template specialization 'calc<std::__cxx11::basic_string<char> >' requested here
            calc(dlistp, is);
            ^
3 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
2023-12-03 11:25:03
Judged At
2023-12-03 11:25:03
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes