1)
La 2 e la 3 te le posto appena ho un minuto liberocodice:#include <stdio.h> #include <time.h> void main(){ struct tm *pt; time_t td; time(&td); pt=localtime(&td); printf("%0.2d %0.2d %4d\n", pt->tm_mday, pt->tm_mon+1, pt->tm_year+1900); }![]()
1)
La 2 e la 3 te le posto appena ho un minuto liberocodice:#include <stdio.h> #include <time.h> void main(){ struct tm *pt; time_t td; time(&td); pt=localtime(&td); printf("%0.2d %0.2d %4d\n", pt->tm_mday, pt->tm_mon+1, pt->tm_year+1900); }![]()
...Terrible warlords, good warlords, and an english song