Quellcode |
|
1 2 3 4 5 6 |
... time_t tTime; char sBuffer[80]; strftime(sBuffer, 80, "%Y-%m-%d %H:%M:%S", localtime(&tTime)); ... |
Zitat
Unbehandelte Ausnahme bei 0x00433e01 in blub.exe: 0xC0000005: Zugriffsverletzung-Leseposition 0x00000014.
Zitat
temp = (((timeptr->tm_year/100)+19)*100) + (timeptr->tm_year%100);
Quellcode |
|
1 2 3 4 5 6 7 |
.... time_t tTime; char sBuffer[80]; tTime= time(NULL); strftime(sBuffer, 80, "%Y-%m-%d %H:%M:%S", localtime(&tTime)); .... |