会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
a56爆大奖在线娱乐的博客
a56爆大奖在线娱乐的园子
账号设置
简洁模式
...
退出登录
注册
登录
心中的阿哲
博客园
首页
新随笔
联系
订阅
管理
2013年7月31日
计算日期之差
摘要: #include int judge_year(int year){ if(year % 400 == 0 || year % 4 == 0 && year % 100 != 0) return 1; else return 0; }int total_days( int year, int month, int day ){ int i, sum = 0; for(i = 1; i year2) { ...
阅读全文
posted @ 2013-07-31 10:49 心中的阿哲
阅读(166)
评论(0)
推荐(0)
编辑
公告