摘要: #include <stdio.h>#include <time.h> int main(void){ time_t t; //类似于size_t那样的专门存时间戳的数据类型 struct tm *p; //引入 time.h后,可以得到结构体 struct tm tm里有年月日时分秒等参数 tim 阅读全文
posted @ 2017-02-28 17:38 菜鸟开车 阅读(285) 评论(0) 推荐(0) 编辑