C中的 tm 结构体 时间
摘要:tm是C语言中定义时间的结构体,下面是详细的定义:[代码]有两个函数是基于这个结构体的,struct tm *localtime(const time_t *timep); struct tm *gmtime(const time_t *timep); time_t timep; struct tm *p1, *p2; time(&timep); p1=localtime(&tim...
阅读全文
posted @ 2009-07-13 19:33
浙公网安备 33010602011771号