#include<iostream> #include<ctime> using namespace std; int main() { time_t tim; time(&tim); cout << ctime(&tim); system("pause"); return 0; }
Standard input is empty
prog.cpp: In function 'int main()':
prog.cpp:10:16: error: 'system' was not declared in this scope
system("pause");
^
Standard output is empty