problem with the time and date

hello everybody im having a little problem. can anywone help me¿
#include <stdio.h>
#include <time.h>


int main ()
{
time_t fecha;

time ( &fecha);
std::cout<<"La hora local es: << ctime (&fecha);
return 0;
}

the programa tell me that i have something wrong, in std::cout? whats the problem?
Last edited on
Topic archived. No new replies allowed.