freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

課程設(shè)計(jì)實(shí)驗(yàn)報(bào)告--簡(jiǎn)單萬年歷-文庫(kù)吧資料

2025-03-29 12:21本頁(yè)面
  

【正文】 cout這天是 世界知識(shí)產(chǎn)權(quán)日!。 case 22: cout這天是 世界地球日!。 case 7: cout這天是 世界衛(wèi)生日!。 case 5: cout這天可能是 清明節(jié)!。 case 4: switch (d) { case 1: cout這天是 愚人節(jié)!。 break。 break。 break。 break。 break。 break。 break。 break。 break。 break。 break。 } break。 case 14: cout這天是 情人節(jié)!。 case 2: switch (d) { case 2: cout這天是 世界濕地日!。 break。 month=(y+y/4+542+26*(m+1)/10+d)%7。 outfileendl。//計(jì)算指定日期距今天的天數(shù) outfile距離今天還有n天endl。 coutendl。 cinymd。 int y,m,d,n。}void third()//第三個(gè)功能,查詢某年某月某日的信息 { //couttiangandizhi()endl。 outfileendl。 outfileendl。 outfilesetw(8)d。d=day。 outfilesetw(8) 。iw。 outfilesetw(8)Sunsetw(8)Monsetw(8)Tuessetw(8)Wedsetw(8)Thurssetw(8)Frisetw(8)Satendl。 outfiley年m月endl。 other(y)。 day=md(y,m)。 cout您所查詢的內(nèi)容如下:endl。 cout請(qǐng)輸入你要查詢的年月:。}int second()//第二個(gè)功能查詢某年某月的日歷 { ofstream outfile(,ios::out)。//輸出到文件 } ()。 coutendl。//輸出到文件 } } coutendl。//輸出到文件 if(w%7==6) { coutendl。d++,w++)//輸出該月的日歷,day是指每個(gè)月的天數(shù) { coutsetw(8)d。//輸出到文件 } for(d=1。i++)//若每個(gè)月前面有空的,將其空出,w是指每個(gè)月的1號(hào)是星期幾 { coutsetw(8) 。 //輸出到文件 for(i=0。//輸出到文件 printweek()。//調(diào)用md函數(shù),判斷該月有多少天 printmonth(m)。 }//在蔡勒公式中,某年的1,2月份要看作是上一年的13,14月份 w=week(y1,m1)。 if(m13) { m1+=12。//m1是指月份,y1是指年份 m1=m。m=12。 outfiley年日歷endl。 couty年日歷endl。 cout您所查詢的內(nèi)容如下:endl。 cout請(qǐng)輸入你要查詢的年份:。 }int first()//第一個(gè)功能,查詢某年的日歷{ ofstream outfile(,ios::out)。 system(cls)。 cout點(diǎn)任意鍵返回主菜單endl。 }}while(n1||n4)。break。break。break。break。 do{ cinn。 cout請(qǐng)輸入您要使用的功能的序號(hào)(回車鍵確認(rèn)):。 coutsetw(6) ==============================================================endl。 coutsetw(6) ╬ 返回 ╬endl。 coutsetw(6) ╬ 查詢某年某月的日歷 ╬endl。 coutsetw(6) ╬ 系統(tǒng)功能 ╬endl。 coutsetw(6) ==============================================================endl。}int jiemian2(){ coutendl。 system(cls)。 coutendlendlendl。 coutsetw(6) ╬ ╬endl。 coutsetw(6) ╬ ╬endl。 coutsetw(6) ╬ ╬endl。 coutsetw(6) ==============================================================endl。 return 0。//調(diào)用jiemian函數(shù),到達(dá)頁(yè)面 coutyi()endl。 coutjiemian2()endl。 } jiemian()。n39。amp。m39。 } else cout輸入有誤,請(qǐng)重新輸入endl。 ()。 cind。 while(c) myclock。 cinc。 while(b) myclock。 cinb。n39。 system(pause)。 while(d) myclock++。 coutendl。 while(c) myclock++。 cinc。 cout請(qǐng)輸入要增加分鐘的個(gè)數(shù):。 b*=3600。 coutendl。m39。 do{ i=getch()。y39。 a=getch()。 cout是否要調(diào)整時(shí)間,如果是請(qǐng)按y,按其他鍵繼續(xù)返回主菜單endl。 (shi,fen,miao)。 input5miao。 strftime(temp,30,%S,now)。 istringstream input4(temp)。 input3shi。 strftime(temp,30,%H,now)。 //tm結(jié)構(gòu)體,得到本地時(shí)間 now=localtime(amp。t)。 time_t t。 int yi(){ char a,i,temp[30]。} private: int hour,minute,second。 hour。 minute。} void operator(int){ second。 hour++。 minute++。} void operator++(int){ second++。 } void showtime(){ cout現(xiàn)在時(shí)間為hour:minute:secondendl。 minute=b。 return 0。 } system(pause)。break。break。 cinn。 coutendl。 coutendlendl。 coutsetw(6) ╬ ★......................★ ╬ endl。 coutsetw(6) ╬ ★*.............★* ╬ endl。 coutsetw(6) ╬ ╬ endl。 coutsetw(6) ╬ ╬ endl。 coutsetw(6) ╬ ★ ★ ★
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1