asctime funcţie

Postat pe 14 februarie 2009 în C de admin

/ * utilizând funcţia asctime * /

# include <stdio.h>
# include <time.h>
int main ()

(
struct tm * ptr;

time_t tm;
tm = time (NULL);
ptr = localtime (& tm);
printf (asctime (ptr));
return 0;

)

Legate de posturi:

  1. Folosind funcţia CTime Utilizarea CTime funcţie Acest exemplu arată un eşantion de utilizare ...
  2. CAPITOLUL 5: Trimiteri şi structuri CAPITOLUL 5: Trimiteri şi structuri După cum probabil ştiţi, am ...
  3. Difftime exemplu Acest lucru arată difftime funcţie şi, în acest caz, noi ...

Legate de posturi au adus la tine de un alt Related Posts Plug-in-ului.

Adaugă un comentariu