0
Please explain me this code,How it Work?
#include <iostream> #include <stdio.h> #include <time.h> using namespace std; int main () { time_t rawtime; struct tm * timeinfo; time ( &rawtime ); cout<< "Current local time and date: %s" << ctime (&rawtime) <<endl; return 0; }
1 Odpowiedź
0
this should help:
http://www.cplusplus.com/reference/ctime/