C++编写的万年历源码

上传者: luckhappystar | 上传时间: 2019-12-21 20:13:48 | 文件大小: 1.83MB | 文件类型: rar
摘要:VC/C++源码,系统相关,万年历   C++编写的万年历模块源码下载,万年历.cpp : Defines the entry point for the console application.   显示1900年以后任何年份的日历,日历以月份顺序排列,每月以星期顺序排列。   采用一般日历计算方法,先给出一般年份的每月天数,如果是闰年,第二个月天数为29,再计算出制定年份的1月1日是星期几,然后根据这些数据   计算出全年日历,边计算边显示。   函数leap()判定是否闰年   函数week()计算year年份的1月1日是星期几。计算方法是,已知1900年1月1日是星期一,先计算从1900年到year年份的前一年一共有多少(s)天,   则(s+1)%7为年份year的1月1日的星期号。

文件下载

资源详情

[{"title":"( 41 个子文件 1.83MB ) C++编写的万年历源码","children":[{"title":"万年历","children":[{"title":"万年历.sln <span style='color:#111;'> 894B </span>","children":null,"spread":false},{"title":"ipch","children":[{"title":"万年历-40632dae","children":[{"title":"万年历-919104ad.ipch <span style='color:#111;'> 2.25MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"万年历.suo <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false},{"title":"万年历","children":[{"title":"ReadMe.txt <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"万年历.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"万年历.vcxproj <span style='color:#111;'> 4.27KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 320B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"link.1760-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 506B </span>","children":null,"spread":false},{"title":"vc100.idb <span style='color:#111;'> 227.00KB </span>","children":null,"spread":false},{"title":"mt.read.1.tlog <span style='color:#111;'> 290B </span>","children":null,"spread":false},{"title":"万年历.exe.embed.manifest <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"万年历.log <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"link-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"rc.command.1.tlog <span style='color:#111;'> 412B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"vc100.pdb <span style='color:#111;'> 316.00KB </span>","children":null,"spread":false},{"title":"link.1760.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 5.30KB </span>","children":null,"spread":false},{"title":"mt.write.1.tlog <span style='color:#111;'> 222B </span>","children":null,"spread":false},{"title":"link-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"rc.read.1.tlog <span style='color:#111;'> 194B </span>","children":null,"spread":false},{"title":"万年历.lastbuildstate <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"stdafx.obj <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"万年历.exe.intermediate.manifest <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"万年历.obj <span style='color:#111;'> 50.70KB </span>","children":null,"spread":false},{"title":"link.1760-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"mt.command.1.tlog <span style='color:#111;'> 324B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 568B </span>","children":null,"spread":false},{"title":"万年历_manifest.rc <span style='color:#111;'> 196B </span>","children":null,"spread":false},{"title":"万年历.pch <span style='color:#111;'> 1.13MB </span>","children":null,"spread":false},{"title":"link.1760.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"万年历.exe.embed.manifest.res <span style='color:#111;'> 472B </span>","children":null,"spread":false},{"title":"rc.write.1.tlog <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false}],"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 293B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 314B </span>","children":null,"spread":false},{"title":"万年历.vcxproj.filters <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"万年历.cpp <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"万年历.sdf <span style='color:#111;'> 6.14MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • niukq2010 :
    很不错的资源 非常适合初学者
    2014-09-15
  • 硫钾 :
    还不错,不过可以把1900改成0就能从公元年开始了
    2014-03-15
  • AI_01 :
    功能基本完善,挺好的
    2013-01-26
  • songyuanyu :
    还好吧,不过我要写的是VS,参考一下还是可以的。
    2012-12-08
  • chenliang7218 :
    代码很好,但是是控制台程序
    2012-07-16

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明