Korzystanie z funkcji ctime
Korzystanie z funkcji ctime
Ten przykład pokazuje próby użycia dla ctime funkcja wyświetlania daty i czasu.
/ * ctime użyciu funkcji * /
# include <stdio.h>
# include <time.h>
int main ()
(
time_t tm;
TM = time (NULL);
printf (ctime (& tm));
return 0;
)
To był testowany na Visual C + + 6 i LCC Win 32
Podobne posty:
- asctime funkcji / * asctime użyciu funkcji * / # include # include <stdio.h> <time.h> int main ()...
Podobne posty przyniósł ci przez Yet Another Related Posts Plugin.



















































Dodaj komentarz