/in/call.cpp:14:2: error: expected ';' after struct
}
^
;
/in/call.cpp:41:16: error: use of undeclared identifier 'timestamp'
while (timestamp <= tick && event_cnt > 0)
^
/in/call.cpp:43:37: error: use of undeclared identifier 'name'
cout << "Call from " << name << " a " << status << " member" << endl;
^
/in/call.cpp:43:54: error: use of undeclared identifier 'status'
cout << "Call from " << name << " a " << status << " member" << endl;
^
/in/call.cpp:45:40: error: use of undeclared identifier 'name'
call *new_call = new call({name, duration});
^
/in/call.cpp:45:46: error: use of undeclared identifier 'duration'
call *new_call = new call({name, duration});
^
/in/call.cpp:46:17: error: use of undeclared identifier 'status'
if (status == "platinum")
^
/in/call.cpp:50:22: error: use of undeclared identifier 'status'
else if (status == "gold")
^
/in/call.cpp:54:22: error: use of undeclared identifier 'status'
else if (status == "silver")
^
/in/call.cpp:66:24: error: use of undeclared identifier 'timestamp'
cin >> timestamp >> name >> status >> duration;
^
/in/call.cpp:66:37: error: use of undeclared identifier 'name'
cin >> timestamp >> name >> status >> duration;
^
/in/call.cpp:66:45: error: use of undeclared identifier 'status'
cin >> timestamp >> name >> status >> duration;
^
/in/call.cpp:66:55: error: use of undeclared identifier 'duration'
cin >> timestamp >> name >> status >> duration;
^
13 errors generated.
/in/Compile/Makefile:39: recipe for target 'buildCall' failed
make: *** [buildCall] Error 1