摘要: #include using namespace std;struct date{int day;int month;int year;int yeardays;};void days(struct date *pd);void main(){struct date ymd;cout > ymd.year >> ymd.month >> ymd.day;days(&ymd);cout yeardays = pd -> day;Ip = pd->year%4==0&&pd||pd->year%100!=0||pd->y 阅读全文
posted @ 2013-10-07 15:38 Blackfog 阅读(201) 评论(0) 推荐(0) 编辑