C++ Time

using namespace std; int main(int argc,char **argv) {    time_t rawtime; time(&rawtime); struct tm* timeinfo = localtime(&rawtime); ostringstream oss; oss << timeinfo->tm_hour << ":" << timeinfo->tm_min << ":" << timeinfo->tm_sec << endl; cout << oss.str; }
 * 1) include
 * 2) include
 * 3) include