摘要:
#include <stdio.h>#include <time.h> void main (){time_t rawtime;struct tm * timeinfo;time ( &rawtime );timeinfo = localtime ( &rawtime );printf ( "\007The current date/time is: %s", asctime (timeinfo) ); exit(0);}=================#include <time.h> -- 必须的时间函数头文件tim 阅读全文
posted @ 2011-12-02 18:44
Tail。
阅读(1787)
评论(0)
推荐(1)

浙公网安备 33010602011771号