/in/call.cpp:13: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:38:9: error: use of undeclared identifier 'allQueuesEmpty'
while (!allQueuesEmpty() || isAgentBusy) {
^
/in/call.cpp:41:13: error: use of undeclared identifier 'handleCall'
handleCall(platinumQueue, currentTime, timeWhenFree, isAgentBusy);
^
/in/call.cpp:43:13: error: use of undeclared identifier 'handleCall'
handleCall(goldQueue, currentTime, timeWhenFree, isAgentBusy);
^
/in/call.cpp:45:13: error: use of undeclared identifier 'handleCall'
handleCall(silverQueue, currentTime, timeWhenFree, isAgentBusy);
^
/in/call.cpp:47:13: error: use of undeclared identifier 'handleCall'
handleCall(regularQueue, currentTime, timeWhenFree, isAgentBusy);
^
/in/call.cpp:58:11: error: cannot initialize a variable of type 'Call *' with an rvalue of type 'Call **'
Call* call = queue.removeFront();
^ ~~~~~~~~~~~~~~~~~~~
/in/call.cpp:59:5: error: use of undeclared identifier 'cout'; did you mean 'std::cout'?
cout << "Answering call from " << call->name << endl;
^~~~
std::cout
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/iostream:61:18: note: 'std::cout' declared here
extern ostream cout; /// Linked to standard output
^
/in/call.cpp:59:53: error: use of undeclared identifier 'endl'; did you mean 'std::endl'?
cout << "Answering call from " << call->name << endl;
^~~~
std::endl
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/ostream:590:5: note: 'std::endl' declared here
endl(basic_ostream<_CharT, _Traits>& __os)
^
9 errors generated.
/in/Compile/Makefile:39: recipe for target 'buildCall' failed
make: *** [buildCall] Error 1