asctime fonction

Posté le 14 Février 2009 à C par admin

/ * en utilisant la fonction 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;

)

Related posts:

  1. Utilisation de la fonction ctime Utilisation de la fonction ctime Cet exemple montre un exemple d'utilisation ...
  2. CHAPITRE 5: Pointeurs et structures CHAPITRE 5: Pointeurs et structures mai Comme vous le savez, nous ...

Related posts brought to you by Yet Another Related Posts Plugin.

Poster un commentaire