/in/call.cpp:8:5: error: unknown type name 'string'; did you mean 'std::string'?
string name;
^~~~~~
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;
^
/in/call.cpp:9:5: error: unknown type name 'string'; did you mean 'std::string'?
string status;
^~~~~~
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;
^
/in/call.cpp:16:5: error: use of undeclared identifier 'cin'; did you mean 'std::cin'?
cin >> CallNum;
^~~
std::cin
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/iostream:60:18: note: 'std::cin' declared here
extern istream cin; /// Linked to standard input
^
/in/call.cpp:20:9: error: use of undeclared identifier 'cin'; did you mean 'std::cin'?
cin >> AllCall[i].tick >> AllCall[i].name >> AllCall[i].status >> AllCall[i].duration;
^~~
std::cin
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/iostream:60:18: note: 'std::cin' declared here
extern istream cin; /// Linked to standard input
^
/in/call.cpp:31:9: error: use of undeclared identifier 'cout'; did you mean 'std::cout'?
cout << "Starting tick #" << tick << 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:31:46: error: use of undeclared identifier 'endl'; did you mean 'std::endl'?
cout << "Starting tick #" << tick << 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)
^
/in/call.cpp:37:17: error: use of undeclared identifier 'cout'; did you mean 'std::cout'?
cout << "Call from " << AllCall[i].name << " a " << AllCall[i].status << " member" << 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:37:103: error: use of undeclared identifier 'endl'; did you mean 'std::endl'?
cout << "Call from " << AllCall[i].name << " a " << AllCall[i].status << " member" << 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)
^
/in/call.cpp:62:17: 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:62:65: 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)
^
/in/call.cpp:68:17: 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:68:65: 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)
^
/in/call.cpp:74:17: 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:74:65: 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)
^
/in/call.cpp:80:17: 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:80:65: 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)
^
16 errors generated.
/in/Compile/Makefile:39: recipe for target 'buildCall' failed
make: *** [buildCall] Error 1