#include#include#includeusing namespace std;
int everymonth=class pc;
void pc::input()
cout<<"欢迎使用万年历!请选择: (1/2/3/4/else)" 输入某年某月,显示该月的万年历" bool pc::isright(int year,int month,int day) /判断日期输入是否正确。 void pc::setdays()/如果输入某年某月某日,进行'1'操作处理weekday=getdays(year, month,day)%7; switch(weekday) bool pc::isleap(int year)//判断是否是闰年。 int pc::getdays(int year,int month,int day)//得到此日前所有已经过的日子weekday=getdays(year, month,day)%7;print(year,month);} void pc::setyear() cout<<"万年历打印在out文档中,请查看。" void pc:: print(int year,int month)//打印到界面上。 华东交通大学。课程设计报告书。不必打印此页,由学校的封面替代,但内容一定要填写完整 2011年 7 月 1 日。课程设计 任务书。电气与电子工程学院电气工程及其自动化专业 10 5班。一 课程设计 题目万年历设计。二 课程设计 工作自 2011 年 6 月27日起至 2010 年 7 月 1 日止 ... 塔里木大学信息工程学院。计算机科学与技术12 3班。陈浩整理。目录。前言 2正文 2 2.1 设计程序的目的和思想 2 2.1.1 设计程序的目的 2 2.1.2 设计程序的思想 2 2.2 设计环境 3 2.3 设计目的 3 2.4 设计流程 3 2.5设计内容 4 2.5.1大月和小月的定义 4... 塔里木大学信息工程学院。计算机科学与技术12 3班。陈浩整理。目录。前言 2正文 2 2.1 设计程序的目的和思想 2 2.1.1 设计程序的目的 2 2.1.2 设计程序的思想 2 2.2 设计环境 3 2.3 设计目的 3 2.4 设计流程 3 2.5设计内容 4 2.5.1大月和小月的定义 4...c 万年历课程设计
万年历C 课程设计
万年历C 课程设计