Korzystanie z funkcji ctime

Posted on 17 lutego 2009 w C przez admin

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:

  1. 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