免费获取
|
论文天下网
|
原创毕业论文
|
论文范文
|
论文下载
|
计算机论文
|
论文降重
|
论文排版
|
外文翻译
|
免费论文
|
开题报告
|
心得体会
|
全站搜索
当前位置:
论文天下网
->
免费论文
->
电子专业
免费毕业论文--万年历设计(五)
;"\n\t (1) 日 历 查 询 (2) 退 出 系 统";
cout<<"\n\t=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=";
cout<<"\n\t请 输 入 您 的 选 择:";
begin1:
cin>>cCmd;
c=cin.rdstate();
while(c)
{cin.clear();cin.getline(buf,80);
cout<<"\n\t非法输入 !重新输入:";
cin>>cCmd;
c=cin.rdstate();}
if(cCmd!=1&&cCmd!=2)
{cout<<"\n\t错误选择,重新选择:";goto begin1;}
if(cCmd==2)
{
cout<<"\n\t\t 操作完毕,数据已保存到"<<sFile;
cout<<"\n\t=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=";
cout<<"\n\t 请按任意键退出系统!";
cout<<"\n\t=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*="<<endl;
return;
}
if(cCmd==1)
{
char cchoice;
do
{
cout<<"\n\t默认路径是:D:\\文件
\\rili.txt\n\t
请输入存盘路径:";
cin>>sFile; cin.getline(buf,100);
cout<<"\t确认无误是"<<sFile<<"吗?是(Y)否(N):";
cin>>cchoice;
}while(cchoice!='y'&&cchoice!='Y');
cout<< "\t-----------------\n\t请输入公历年 ,月份(用空格格开):";
cin >>Year;cin>>Month;
SolarShow(Year,Month,sFile);
strat:
cout<<"\n\t===*=======*=======*=======*=======*=======*=======*===="; cout<<"\n\t (1)上一月 (3)上一年 (5)重新输入年月\n";
cout<<"\n\t (2)下一月 (4)下一年 (6)返回上级菜单";
cout<<"\n\t===*=======*=======*=======*=======*=======*=======*===="; cout<<"\n\t请 输 入 您 的 选 择:";
cin>>cCmd;
c=cin.rdstate();
while(c)
{cin.clear();cin.getline(buf,80);
cout<<"\n\t非法输入 !重新输入:";
cin>>cCmd;
c=cin.rdstate();}
switch(cCmd)
{
case 3: { Year=Year-1;SolarShow(Year,Month,sFile);goto strat;}
case 1: { Month=Month-1;SolarShow(Year,Month,sFile);goto strat;}
case 4: { Year=Year+1;SolarShow(Year,Month,sFile);goto strat;}
case 2: { Month=Month+1;SolarShow(Year,Month,sFile);goto strat;}
case 5: {cout << "\n\t请输入公历年 ,月份(用空格格开):";
cin >>Year;cin>>Month;So
首页
上一页
2
3
4
5
6
7
8
下一页
尾页
5
/8/8
相关论文
上一篇
:
免费毕业论文--基于单片机的LED汉..
下一篇
:
免费毕业论文--点阵电子显示屏
推荐论文
本专业最新论文
Tags:
免费
毕业论文
--万年历
设计
2010-03-19 11:12:05【
返回顶部
】
相关栏目
自动化相关
计算机论文
工程管理论文
法律论文
医学论文
人力资源
电子专业
电气工程
英语论文
行政管理
电子商务
社科文学
教育论文
物流专业
金融专业
财务管理
会计专业
化学化工材料科学
电子通信
环境科学
经济类
机械模具类
报告,总结,申请书
其他专业论文