Record Detail

Compile Error

/in/calc.cpp:134:13: error: unknown type name 'string'; did you mean 'std::string'?
void insert(string input, Dlist<int> *stack){
            ^~~~~~
            std::string
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stringfwd.h:74:33: note: 'std::string' declared here
  typedef basic_string<char>    string;   
                                ^
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
2022-12-17 22:30:29
Judged At
2022-12-17 22:30:29
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes