/in/call.cpp:16:5: error: unknown type name 'string'; did you mean 'std::string'?
string name;
^~~~~~
std::string
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/stringfwd.h:74:33: note: 'std::string' declared here
typedef basic_string<char> string;
^
/in/call.cpp:34:5: error: use of undeclared identifier 'cin'; did you mean 'std::cin'?
cin>>num;
^~~
std::cin
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/iostream:60:18: note: 'std::cin' declared here
extern istream cin; /// Linked to standard input
^
/in/call.cpp:38:9: error: unknown type name 'string'; did you mean 'std::string'?
string str_status;
^~~~~~
std::string
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/stringfwd.h:74:33: note: 'std::string' declared here
typedef basic_string<char> string;
^
/in/call.cpp:39:9: error: use of undeclared identifier 'cin'; did you mean 'std::cin'?
cin>>c->timestamp>>c->name>>str_status>>c->duration;
^~~
std::cin
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/iostream:60:18: note: 'std::cin' declared here
extern istream cin; /// Linked to standard input
^
/in/call.cpp:68: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.3.0/../../../../include/c++/7.3.0/iostream:61:18: note: 'std::cout' declared here
extern ostream cout; /// Linked to standard output
^
/in/call.cpp:68:40: 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.3.0/../../../../include/c++/7.3.0/ostream:590:5: note: 'std::endl' declared here
endl(basic_ostream<_CharT, _Traits>& __os)
^
/in/call.cpp:73: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.3.0/../../../../include/c++/7.3.0/iostream:61:18: note: 'std::cout' declared here
extern ostream cout; /// Linked to standard output
^
/in/call.cpp:73:40: 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.3.0/../../../../include/c++/7.3.0/ostream:590:5: note: 'std::endl' declared here
endl(basic_ostream<_CharT, _Traits>& __os)
^
/in/call.cpp:94:21: error: use of undeclared identifier 'cout'; did you mean 'std::cout'?
cout << "Call from " << client->name << " a " << Status[client->status] << " member" << endl;
^~~~
std::cout
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/iostream:61:18: note: 'std::cout' declared here
extern ostream cout; /// Linked to standard output
^
/in/call.cpp:94:109: error: use of undeclared identifier 'endl'; did you mean 'std::endl'?
cout << "Call from " << client->name << " a " << Status[client->status] << " member" << endl;
^~~~
std::endl
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/ostream:590:5: note: 'std::endl' declared here
endl(basic_ostream<_CharT, _Traits>& __os)
^
/in/call.cpp:121:13: error: use of undeclared identifier 'cout'; did you mean 'std::cout'?
cout<<"Answering call from "<<client->name<<endl;
^~~~
std::cout
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/iostream:61:18: note: 'std::cout' declared here
extern ostream cout; /// Linked to standard output
^
/in/call.cpp:121:57: error: use of undeclared identifier 'endl'; did you mean 'std::endl'?
cout<<"Answering call from "<<client->name<<endl;
^~~~
std::endl
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/ostream:590:5: note: 'std::endl' declared here
endl(basic_ostream<_CharT, _Traits>& __os)
^
12 errors generated.
/in/Compile/Makefile:39: recipe for target 'buildCall' failed
make: *** [buildCall] Error 1