Record Detail

Compile Error

/in/call.cpp:19:22: error: cannot initialize a parameter of type 'Call **' with an lvalue of type 'Call *'
    queue.insertBack(newCall);
                     ^~~~~~~
/in/Compile/dlist.h:25:24: note: passing argument to parameter 'op' here
    void insertBack(T *op);
                       ^
/in/call.cpp:29:22: error: implicit instantiation of undefined template 'std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >'
        stringstream ss(inputLine);
                     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/iosfwd:108:11: note: template is declared here
    class basic_stringstream;
          ^
/in/call.cpp:48:1: error: expected unqualified-id
while (!allQueuesEmpty() || isAgentBusy) {
^
/in/call.cpp:67:11: error: cannot initialize a variable of type 'Call *' with an rvalue of type 'Call **'
    Call* call = queue.removeFront();
          ^      ~~~~~~~~~~~~~~~~~~~
4 errors generated.
/in/Compile/Makefile:39: recipe for target 'buildCall' failed
make: *** [buildCall] Error 1

Information

Submit By
Type
Submission
Homework
Project5
Language
C++
Submit At
2024-04-29 21:59:34
Judged At
2024-04-29 21:59:34
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes