Record Detail

Compile Error

/in/call.cpp:5:5: error: unknown type name 'string'
    string name;
    ^
/in/call.cpp:6:5: error: unknown type name 'string'
    string status;
    ^
/in/call.cpp:13:5: error: use of undeclared identifier 'cin'
    cin >> CallNum;
    ^
/in/call.cpp:17:9: error: use of undeclared identifier 'cin'
        cin >> AllCall[i].tick >> AllCall[i].name >> AllCall[i].status >> AllCall[i].duration;
        ^
/in/call.cpp:28:9: error: use of undeclared identifier 'cout'
        cout << "Starting tick #" << tick << endl;
        ^
/in/call.cpp:28:46: error: use of undeclared identifier 'endl'
        cout << "Starting tick #" << tick << endl;
                                             ^
/in/call.cpp:34:17: error: use of undeclared identifier 'cout'
                cout << "Call from " << AllCall[i].name << " a " << AllCall[i].status << " member" << endl;
                ^
/in/call.cpp:34:103: error: use of undeclared identifier 'endl'
                cout << "Call from " << AllCall[i].name << " a " << AllCall[i].status << " member" << endl;
                                                                                                      ^
/in/call.cpp:59:17: error: use of undeclared identifier 'cout'
                cout << "Answering call from " << call->name << endl;
                ^
/in/call.cpp:59:65: error: use of undeclared identifier 'endl'
                cout << "Answering call from " << call->name << endl;
                                                                ^
/in/call.cpp:65:17: error: use of undeclared identifier 'cout'
                cout << "Answering call from " << call->name << endl;
                ^
/in/call.cpp:65:65: error: use of undeclared identifier 'endl'
                cout << "Answering call from " << call->name << endl;
                                                                ^
/in/call.cpp:71:17: error: use of undeclared identifier 'cout'
                cout << "Answering call from " << call->name << endl;
                ^
/in/call.cpp:71:65: error: use of undeclared identifier 'endl'
                cout << "Answering call from " << call->name << endl;
                                                                ^
/in/call.cpp:77:17: error: use of undeclared identifier 'cout'
                cout << "Answering call from " << call->name << endl;
                ^
/in/call.cpp:77:65: error: use of undeclared identifier 'endl'
                cout << "Answering call from " << call->name << endl;
                                                                ^
16 errors generated.
/in/Compile/Makefile:39: recipe for target 'buildCall' failed
make: *** [buildCall] Error 1

Information

Submit By
Type
Submission
Homework
Project 5
Language
C++
Submit At
2023-12-10 19:05:48
Judged At
2023-12-10 19:05:48
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes