簡介:C語言游戲源代碼語言游戲源代碼1、簡單的開機(jī)密碼程序簡單的開機(jī)密碼程序INCLUDE“CONIOH“INCLUDE“STRINGH“INCLUDE“STDIOH“VOIDERROR{WINDOW12,10,68,10TEXTBACKGROUND15TEXTCOLOR132CLRSCRCPRINTF“FILEORSYSTEMERRORYOUCANTENTERTHESYSTEM“WHILE1/若有錯誤不能通過程序/}VOIDLOOK{FILEFAUTO,FBAKCHARPASS“C\\WINDOWS\\PASSWORDEXE“/本程序的位置/CHARA25,CHCHARAU“AUTOEXECBAT“,BNAME“HECFBACK“/BNAME是AUTOEXECBAT的備份/SETDISK2/SETCURRENTLYDISKC/CHDIR“\\“/SETCURRENTLYDIRECTORY\/FAUTOFOPENAU,“R“IFFAUTONULL{FAUTOFOPENAU,“W“IFFAUTONULLERROR}FREADA,23,1,FAUTO/讀取AUTOEXECBAT前23各字符/A23\0IFSTRCMPA,PASS0/若讀取的和PASS指針一樣就關(guān)閉文件,不然就添加/FCLOSEFAUTOELSE{FBAKFOPENBNAME,“W“IFFBAKNULLERRORFWRITEPASS,23,1,FBAKFPUTC\N,FBAKREWINDFAUTOWHILEFEOFFAUTO{CHFGETCFAUTOFPUTCCH,FBAK}REWINDFAUTOREWINDFBAKWHILEFEOFFBAK{CHFGETCFBAKFPUTCCH,FAUTO}{LOOKPASS}2、彩色貪吃蛇彩色貪吃蛇INCLUDEINCLUDEDEFINEN200DEFINEUP0X4800DEFINEDOWN0X5000DEFINELEFT0X4B00DEFINERIGHT0X4D00DEFINEESC0X011BDEFINEY0X1579DEFINEN0X316EINTGAMESPEED/游戲速度/INTI,KEY,COLORINTSCORE0/游戲分?jǐn)?shù)/CHARCAI48H{0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X04,0X00,0X18,0X00,0X00,0X00,0X0E,0X00,0X1C,0X00,0X00,0X00,0X1C,0X00,0X1C,0X00,0X00,0X00,0X20,0X00,0X38,0X00,0X00,0X00,0X40,0X00,0X78,0X00,0X00,0X01,0X80,0X40,0X70,0X00,0X00,0X03,0X80,0XC0,0XE0,0X00,0X00,0X07,0X80,0X80,0XC0,0X00,0X00,0X0E,0X11,0X81,0XC0,0X00,0X00,0X08,0X61,0X01,0X80,0X00,0X00,0X00,0X23,0X03,0X04,0X00,0X00,0X02,0X02,0X00,0X06,0X00,0X00,0X1E,0X04,0X00,0X0F,0X00,0X00,0X1C,0X1F,0X80,0X1E,0X00,0X00,0X08,0X3F,0X80,0X3C,0X00,0X00,0X00,0XFF,0X80,0X38,0X00,0X00,0X03,0XFF,0X80,0X78,0X00,0X00,0X0F,0XF8,0X00,0XF0,0X00,0X00,0X7F,0XF0,0X00,0XE0,0X00,0X03,0XFF,0XFC,0X01,0X80,0X00,0X03,0XC0,0XFF,0X01,0X03,0X80,0X01,0X01,0XFF,0X00,0X03,0X80,0X00,0X01,0X3F,0X00,0X07,0X80,0X00,0X02,0X11,0X00,0X07,0X00,0X00,0X00,0X10,0X00,0X07,0X00,0X00,0X00,0X10,0X00,0X0E,0X00,0X00,0X08,0X10,0X00,0X1C,0X00,0X00,0X30,0X10,0X00,0X18,0X00,0X00,0X70,0X10,0X00,0X30,0X00,0X01,0XE0,0X10,0X00,0X70,0X00,0X03,0X80,0X10,0X00,0X60,0X00,0X00,0X00,0X30,0X00,0XE0,0X00,0X00,0X00,0XF0,0X01,0XC0,0X00,0X00,0X00,0X70,0X03,0XC0,0X00,0X00,0X00,0X10,0X07,0X80,0X00,0X00,0X00,0X00,0X0F,0X00,0X00,0X00,0X00,0X00,0X1E,0X00,0X00,0X00,0X00,0X00,0X3C,0X00,0X00,0X00,0X00,0X00,0X70,0X00,0X00,
下載積分: 8 賞幣
上傳時間:2024-03-06
頁數(shù): 29
大?。?0.04(MB)
子文件數(shù):