时间常见的有两种存储方式. time_t :整数类型用来存储从1970年到现在经过了多少秒. tm :结构类型把日期和时间以C 结构的形式保存,tm 结构的定义如下: struct tm {
確定! 回上一頁