debug
This commit is contained in:
parent
9f8be6cf60
commit
df1087936a
3
main.c
3
main.c
@ -242,8 +242,9 @@ int main()
|
|||||||
char str[1024];
|
char str[1024];
|
||||||
char date[60];
|
char date[60];
|
||||||
time_t now ;
|
time_t now ;
|
||||||
|
char * locale;
|
||||||
|
|
||||||
setlocale(LC_ALL,NULL);
|
locale = setlocale(LC_ALL,NULL);
|
||||||
time( &now );
|
time( &now );
|
||||||
sprintf( date, "%s", ctime(&now));
|
sprintf( date, "%s", ctime(&now));
|
||||||
date[strlen(date)-1] = 0;
|
date[strlen(date)-1] = 0;
|
||||||
|
Reference in New Issue
Block a user