万年历-C源码(可直接在VC6.0下运行) please select the service you need//用来提示选择执行功能 Search what day is today//用来计算这一天是星期几 Search whether the year is leap year or not//计算是否闰年 Print the calander of the whole year//输出全年的日历 Print the calander of serveral years//输出连续几年
摘要:VC/C++源码,系统相关,万年历 C++编写的万年历模块源码下载,万年历.cpp : Defines the entry point for the console application. 显示1900年以后任何年份的日历,日历以月份顺序排列,每月以星期顺序排列。 采用一般日历计算方法,先给出一般年份的每月天数,如果是闰年,第二个月天数为29,再计算出制定年份的1月1日是星期几,然后根据这些数据 计算出全年日历,边计算边显示。 函数leap()判定是否闰年 函