Thorpe

导航

 

2015年7月28日

摘要: 结构中使用复合字面量,我们有一个结构:1 struct date2 {3 int year;4 int month;5 int day;6 };一般给这个结构赋值会是:1 struct date today = {2015,7,28};2 // 或者是3 // struct ... 阅读全文
posted @ 2015-07-28 17:17 Thorpe 阅读(109) 评论(0) 推荐(0)