摘要: 时间模块需要引入time.h头文件 1. c获取时间戳 2. c 获得时间字符串,或者将时间戳转换成字符串 那为什么呢?C语言定义了结构体struct tm /* ISO C `broken-down time' structure. */ struct tm { int tm_sec; /* Se 阅读全文
posted @ 2019-01-22 15:03 我当道士那儿些年 阅读(488) 评论(0) 推荐(0) 编辑