摘要: function <cstdio> sscanf int sscanf ( const char * s, const char * format, ...); Read formatted data from string Reads data from s and stores them acc 阅读全文
posted @ 2016-11-29 22:08 Lunais 阅读(13608) 评论(0) 推荐(1) 编辑
摘要: 在标准C/C++中与日期和时间相关的数据结构 注意:年份是实际年份与 1900 的差值 我们可通过tm结构来获得日期和时间,tm结构在time.h中的定义如下: exmple: ANSI C标准称使用tm结构的这种时间表示为分解时间(broken-down time)。 而日历时间(Calendar 阅读全文
posted @ 2016-11-29 22:05 Lunais 阅读(2974) 评论(0) 推荐(0) 编辑