Author
anonymous
over 7 years ago
Language
Compiler
Options
Author
anonymous
over 7 years ago
$
prog.cc: In function 'int main(int, char**)':
prog.cc:12:18: error: 'get_time' is not a member of 'std'
time_stream >> std::get_time(&time, "%Y-%m-%d %H:%M:%S");
^
prog.cc:15:25: error: 'put_time' is not a member of 'std'
std::cout << "H: " << std::put_time(&time, "%H\n");
^
prog.cc:16:25: error: 'put_time' is not a member of 'std'
std::cout << "M: " << std::put_time(&time, "%M\n");
^
prog.cc: At global scope:
prog.cc:6:14: warning: unused parameter 'argc' [-Wunused-parameter]
int main(int argc, char *argv[]) {
^
prog.cc:6:31: warning: unused parameter 'argv' [-Wunused-parameter]
int main(int argc, char *argv[]) {
^
Exit Code:
1