<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
SALUDOS COMPAÑEROS DE C CON CLASE, ESTE PROGRAMA DA LA HORA Y FECHA DEL ORDENADOR PERO <BR>
YO NO LO ENTIENDO, POR LO QUE ME LES PIDO QUE ME LO REENVIAN CON ALGUNOS COMENTARIOS <BR>
EXPLICANDOLO CON ALGUNOS COMENTARIOS.<BR>
 <BR>
DE ANTEMANO GRACIAS.<BR>
 <BR>
<STRONG>#include <stdio.h><BR>#include <time.h><BR>#include <conio.h></STRONG><BR>
<BR><STRONG>int main()<BR>{<BR>  time_t tiempo;<BR>  char cad[80];<BR>  <BR>  struct tm *tmPtr;</STRONG><BR>
<STRONG>  tiempo = time(NULL);<BR>  tmPtr = localtime(&tiempo);<BR>  <BR>  strftime(cad, 80,"%H:%M.%S, %a de %b de %y", tmPtr );</STRONG><BR>
<STRONG>  printf( "La hora local es: %s\n", asctime(tmPtr) );<BR>  printf( "La hora y fecha locales son: %s\n", cad );</STRONG><BR>
<STRONG>  getch();<BR>  return 0;<BR>}</STRONG><BR>
 <BR>
 <RTE_TEXT></RTE_TEXT><BR><br /><hr />¿Tienes cámara digital, más de una cuenta de email, planeas fiestas o blogueas? Entonces, necesitas <a href='http://get.live.com/es-mx/wl/all' target='_new'>Windows Live</a></body>
</html>