{FILE *file;
file=fopen(FileName,"a+");
time_t theTime=time(0); (/** Im getting a error here when i try to compile)
fputs("\nStarted logging: ", file);
fputs(ctime(&theTime),file);
fclose(file);
}