摘要: #include <stdio.h>#include <time.h>#include <iostream>using namespace std;int main(void){time_t timep;struct tm *p;time(&timep);printf("time() : %d \n",timep);p=localtime(&timep);timep = mktime(p);printf("time()->localtime()->mktime():%d\n",timep); 阅读全文
posted @ 2012-01-04 19:49 byfei 阅读(178) 评论(0) 推荐(0) 编辑
摘要: int test=2147483647; 阅读全文
posted @ 2012-01-04 17:06 byfei 阅读(243) 评论(1) 推荐(0) 编辑