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

正文內(nèi)容

[工作范文]c語言程序設(shè)計(jì)猜數(shù)字游戲報(bào)告(編輯修改稿)

2025-04-19 01:30 本頁面
 

【文章內(nèi)容簡介】 意鍵進(jìn)入菜單))。 getch()。 main1()。}void mainmenu() //主菜單{ system (cls)。 printf(********************************************************************************)。 printf(*^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^*)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t 請按鍵選擇,回車確定\n)。 printf(*^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^*)。 printf(********************************************************************************)。}void menu2() //游戲記錄菜單{ system (cls)。 printf(********************************************************************************)。 printf(*^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^*)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t 請按鍵選擇,回車確定\n)。 printf(*^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^*)。 printf(********************************************************************************)。 return 。}void phbmenu() //瀏覽排行榜菜單{ system (cls)。 printf(********************************************************************************)。 printf(*^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^*)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t 請按鍵選擇,回車確定\n)。 printf(*^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^*)。 printf(********************************************************************************)。 return 。}void countmenu() //瀏覽count文件菜單{ system (cls)。 printf(********************************************************************************)。 printf(*^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^*)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t 請按鍵選擇,回車確定\n)。 printf(*^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^*)。 printf(********************************************************************************)。 return 。}void qkmenu() //清空排行榜菜單{ system (cls)。 printf(********************************************************************************)。 printf(*^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^*)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(\t\t請按退格鍵返回上一菜單,請按鍵選擇(不需回車確定)\n)。 printf(*^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^*)。 printf(********************************************************************************)。 return 。}void rscountmenu() //重置count文件菜單{ system (cls)。 printf(********************************************************************************)。 printf(*^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^*)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(\t\t請按退格鍵返回上一菜單,請按鍵選擇(不需回車確定)\n)。 printf(*^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^*)。 printf(********************************************************************************)。 return 。}void menu3() //幫助菜單{ system (cls)。 printf(********************************************************************************)。 printf(*^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^*)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 printf(\t\t\t\t \n\n)。 /*printf(\t\t\t\t \n\n)。*/ printf(\t\t\t 請按鍵選擇,回車確定\n)。 printf(*^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^ ^_^*)。 printf(********************************************************************************)。 return 。}void move(int i,int j) //“到達(dá)”函數(shù){ COORD c。//聲明坐標(biāo)變量 =i。//橫坐標(biāo)為x1 =j。//縱坐標(biāo)為y1 SetConsoleCursorPosition (GetStdHandle(STD_OUTPUT_HANDLE), c)。 //使光標(biāo)返回開頭 return 。}void rulemenu() //游戲規(guī)則{ int i,j。 system (cls)。 printf(游戲規(guī)則:\n)。 printf(\t**********************************************************\n)。 printf(\t**********************************************************\n)。 printf(\t①:游戲開始,系統(tǒng)隨機(jī)產(chǎn)生一位不重復(fù)的4位數(shù)字。\n)。 putchar(39。\n39。)。 printf( ▲ ②:游戲者輸入所猜的不重復(fù)數(shù)字,并按回車提交(直接輸入,不\n)。 printf(\t可用空格隔開)。\n)。 putchar(39。\n39。)。 printf(\t③:系統(tǒng)將提交的數(shù)與它自動產(chǎn)生的數(shù)進(jìn)行比較,輸出結(jié)果\n)。 printf(\t“*A*B”形式。其中A代表數(shù)字正確相應(yīng)位置也正確,B代表數(shù)字正\n)。 printf(\t確但位置不正確。如:1A3B表示游戲者有1個數(shù)字的位置正確且數(shù)值\n)。 printf(\t也正確,除此以外,游戲者還猜對了3個數(shù)字,但位置不對,即游戲\n)。 printf(\t者已經(jīng)猜出4位數(shù)據(jù),但有3個數(shù)據(jù)位置不對!\n)。 putchar(39。\n39。)。 printf(\t④:游戲者有限的十次數(shù)的猜測機(jī)會,在規(guī)定次數(shù)內(nèi)完成,則游戲\n)。 printf(\t成功。否則,游戲失敗。其中,猜測次數(shù)與成績有關(guān):\n)。 printf(\t次數(shù)越少,成績越高。\t\n)。 putchar(39。\n39。)。 printf(\t⑤:游戲排行榜中名次,只決定于成績。\n)。 printf(\t**********************************************************\n)。 printf(\t**********************************************************\n)。 printf(\n)。 printf(*按退格鍵返回幫助菜單,其他鍵返回主菜單。)。 i=10。 j=0。 move(i,j)。 //光標(biāo)回到窗口的頂端 if(getch()==8) help()。 else main1()。}void explainmenu(){ int i,j,k=0。 char A。 system (cls)。 printf(游戲說明:\n)。k++。 printf(\t************************************************************\n)。k++。 printf(\t************************************************************\n)。k++。 printf(\t①:此游戲有計(jì)時功能。進(jìn)入游戲后開時計(jì)時,猜正確后計(jì)時結(jié)束。\n)。k++。 printf(\t游戲過程中不顯示時間,只有成功猜出數(shù)字后才會提示所用時間。\n)。k++。 putchar(39。\n39。)。k++。 printf(\t②:進(jìn)入游戲后,可輸入“rt”可返回主菜單;輸入“rp”可\n)。k++。 printf(\t重新開始游戲 。\n)。k++。 putchar(39。\n39。)。k++。 printf(\t③:游戲中有瀏覽排行榜功能。\n)。k++。 printf(\t可分別按照成績、用戶名、所用時間的順序進(jìn)行瀏覽。\n)。k++。 printf(\t其中只顯示前十名成績的記錄,且最多顯示15名玩家。\n)。k++。 printf(\t按用戶名名輸出排行版功能中,數(shù)字優(yōu)先于字母,字母優(yōu)先于文字的\n)。k++。 printf(\t規(guī)則進(jìn)行排序。\n)。k++。 putchar(39。\n39。)。k++。 printf(\t④:在瀏覽表最后,顯示最近一次重置排行榜或第一次游戲以來所有\(zhòng)n)。k++。 printf(\t玩家猜正確的總共人次
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1