Record Detail

Compile Error

/in/calc.cpp:40:32: error: use of undeclared identifier 'to_string'
                T *fo3 = new T(to_string(stoi(*fo1) + stoi(*fo2)));
                               ^
/in/calc.cpp:182:9: note: in instantiation of function template specialization 'arithm<std::__cxx11::basic_string<char> >' requested here
        arithm(dlist, is);
        ^
/in/calc.cpp:232:13: note: in instantiation of function template specialization 'calc<std::__cxx11::basic_string<char> >' requested here
            calc(dlistp, is);
            ^
1 error 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:30:52
Judged At
2023-12-03 11:30:52
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes