版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
主函数#include<graphics.h>include<conio.h>include<dos.h>include"wenjian.c"include"sanjie.c"include"sijie.c"include"wujie.c"include"donghua.c"voiddianz(void);voidupbar(inty);voiddownbar(inty);voidbanyuan(void);voidmenulist(void){intky,cmd,i;inty;intgdriveomode;gdriver=DETECT;initgraph(&gdriveG&mode/"");setbkcolor(BLACK);setcolor(RED);/* rectangle(200,70,440,410);*/dianz();y=127.5;setwritemode(XOR_PUT);upbar(y);cmd=3;do(ky=bioskey(0);switch(ky)caseKey_3:{cmd=3;ky=Key__ENTER;break;)caseKey_4:{cmd=4;ky=Key_ENTER;break;}caseKey_5:{cmd=5;ky=Key_ENTER;break;)caseKey_q:caseKey_Q:{cmd=O;ky=Key_ENTER;break;}caseKey_DOWN:{{ if(y<277.5)(upbar(y);y+=75;downbar(y);cmd=cmd+l;if(cmd==6)cmd=0;}}break;}caseKey_UP:{ if(y>127.5){{downbar(y);y-=75;downbar(y);if(cmd==0)cmd=6;cmd-=l;}}break;}while(ky!=Key_ENTER);switch(cmd)case 0:exit(0);{sanjie();break;)(sijie();break;wujie();break;main(){donghua();while(l){tuxingO;menulist();clrscr();getchar();voiddrawmat(char*matjntmatsizejntx,intyjntcolor)/*依次:字模指针、点阵大小、起始坐标(x,y)、颜色*/(intij,k,n;n=(matsize-l)/8+l;for(j=0;j<matsize;j++)for(i=0;i<n;i++)for(k=0;k<8;k++)if(mat[j*n+i]&(0x80»k))/*测试为1的位则显示*/putpixel(x+i*8+k/y+j/color);}voiddianz(void){charsan64L[]={/*以下是三的64点阵隶书字模,512byte*/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,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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3E,0x00,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x78,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,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,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,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,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x60,0x00,0x00,0x0F,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x00,0x07,0x80,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,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,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,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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x07,OxEO,0xlF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0,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,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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};charsi64L[]={/*以下是'四'的64点阵隶书字模,512byte*/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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x7F,0xFF,0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x60,0x00,0x40,0x06,0x00,0x07,0x00,0x00,0x60,0x00,0x60,0x06,0x00,0x06,0x00,0x00,0x60,0x00,0x60,0x06,0x00,0x04,0x00,0x00,0x60,0x00,0x60,0x06,0x00,0x04,0x00,0x00,0x60,0x00,0x60,0x06,0x00,0x04,0x00,0x00,0x60,0x00,0x60,0x06,0x00,0x04,0x00,0x00,0x60,0x00,0x60,0x06,0x00,0x04,0x00,0x00,0x60,0x00,0x60,0x06,0x00,0x04,0x00,0x00,0x60,0x00,0x00,0x06,0x00,0x04,0x00,0x00,0x60,0x00,OxCO,0x06,0x00,0x04,0x00,0x00,0x60,0x00,OxCO,0x06,0x00,0x04,0x00,0x00,0x60,0x00,0x60,0x06,0x00,0x04,0x00,0x00,0x60,0x00,0x60,0x06,0x00,0x04,0x00,0x00,0x60,0x00,0x60,0x06,0x00,0x04,0x00,0x00,0x60,0x00,0x60,0x06,0x00,0x04,0x00,0x00,0x60,0x00,OxCO,0x06,0x00,0x04,0x00,0x00,0x60,0x00,0x00,0x06,0x00,0x04,0x00,0x00,0x60,0x00,0x60,0x06,0x00,0x04,0x00,0x00,0x60,0x00,0x60,0x06,0x00,0x04,0x00,0x00,0x60,0x00,0x60,0x06,0x00,0x04,0x00,0x00,0x60,0x00,0x00,0x06,0x00,0x04,0x00,0x00,0x60,0x00,0x00,0x06,0x00,0x04,0x00,0x00,0x60,0x01,0x80,0x06,0x00,0x04,0x00,0x00,0x60,0x01,0x80,0x06,0x00,0x04,0x00,0x00,0x60,0x01,0x80,0x06,0x00,0x04,0x00,0x00,0x60,0x01,0x80,0x06,0x00,0x04,0x00,0x00,0x60,0x01,0x80,0x06,0x00,0x04,0x00,0x00,0x60,0x03,0x00,0x06,0x00,0x04,0x00,0x00,0x60,0x03,0x00,0x06,0x00,0x04,0x00,0x00,0x60,0x06,0x00,0x06,0x00,0x04,0x00,0x00,0x60,0x06,0x00,0x07,0x01,0x04,0x00,0x00,0x60,OxOC,0x00,0x07,OxFF,0x84,0x00,0x00/0x60/0x08/0x00/0x03/0xFF/0xC4/0x00,0x00/0x60z0xl0,0x00/0x01/0xFF/0xC4,0x00,0x00,0x60,0x20,0x00,0x00,0x01,0x04,0x00,0x00,0x60,0x40,0x00,0x00,0x00,0x04,0x00,0x00,0x60,0x80,0x00,0x00,0x00,0x04,0x00,0x00,0x61,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x62,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x64,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x70,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x7F,0xFF,0xFF,0xFF,0xFF,0xFE,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x06,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,0x00,};charwu64L[]={/*以下是的64点阵隶书字模,512byte*/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,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,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3C,0x00,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xFE,0x00,0x00,0x78,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,OxOE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,OxOE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,OxOC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,OxOC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,OxOC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,OxOC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x30,0x00,0x07,0x80,0x00,0x00,0xlF,0xFF,0xFF,0xFF,0xFF,0xC0,0x00,0x00,0x00,0x00,0x30,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x30,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x30,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x06,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x06,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x06,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x06,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x06,0x00,0x00,0x00,0x00,0x01,0x80,0x00,OxOC,0x00,0x00,0x00,0x00,0x01,0x80,0x00,OxOC,0x00,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x60,0x00,0x00,0x03,0x00,0x00,OxOC,0x03,OxEO,0x0F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0,0x03,0x60,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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};chartui64L[]={/*以下是'退'的64点阵隶书字模,512byte*/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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x38,0x00,0x10,0x00,0x00,0x70,0x00,0x00,OxlE,0x00,0xlF,0xFF,0xFF,0xF8,0x00,0x00,OxOE,0x00,0x18,0x00,0x00,0x70,0x00,0x00,0x060x00,0x18,0x00,0x00,0x60,0x00,0x00,0x07,0x00,0x18,0x00,0x00,0x60,0x00,0x00,0x07,0x00,0x18,0x00,0x00,0x60,0x00,0x00,0x03,0x00,0x18,0x00,0x00,0x60,0x00,0x00,0x02,0x00,0x18,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x60,0x00,0x00,0x00,0x00,OxlFQxFFQxFFQxEO,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x60,0x00,0x00,0x03,0x00,0x18,0x00,0x00,0x60,0x00,0x00,0x07,0x80,0x18,0x00,0x00,0x60,0x00,OxOFQxFFQxCO,0x18,0x00,0x00,0x60,0x00,0x00,0x03,0x80,0x18,0x00,0x00,0x60,0x00,0x00/0x02/0x00z0xlF/0xFF/0xFF/0xE0/0x00,0x00,0x02,0x00,0x18,0x00,0x00,0x60,0x00,0x00,0x02,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x18,0x00,0x00,0x06,0x00,0x00,0x02,0x00,0x18,0x00,0x00,OxlE,0x00,0x00,0x02,0x00,0x18,0x00,0x00,Ox3F,0x00,0x00,0x02,0x00,0x18,0x00,0x00,0x78,0x00,0x00,0x02,0x00,0x18,0x10,0x00,OxEO,0x00,0x00,0x02,0x00,0x18,0x04,0x01,0x80,0x00,0x00,0x02,0x00,0x18,0x03,0x82,0x00,0x00,0x00,0x02,0x00,0x18,0x00,0xF8,0x00,0x00,0x00,0x02,0x00,0x18,0x00,0x38,0x00,0x00,0x00,0x02,0x00,0x18,0x00,OxlE,0x00,0x00,0x00,0x02,0x00,0x18,0x00,0x07,0x80,0x00,0x00,0x02,0x00,0x18,0x00,0x03,OxEO,0x00,0x00,0x02,0x00,0x18,0x00,0x00,OxFO,0x00,0x00,0x02,0x00,0x18,0x03,0x00,0x78,0x00,0x00,0x02,0x00,0x18,OxOC,0x00,Ox3C,0x00,0x00,0x06,0x00,0x18,0x70,0x00,OxlE,0x00,0x00,OxlF,0x00,OxlFQxEO,0x00,OxOF,0x00,0x00,0x78,0x80,0x3^0x80,0x00,0x07,0x00,0x00,OxEO,0x60,Ox3F,0x00,0x00,0x02,0x00,0x01,OxCO,0x10,OxlC,0x00,0x00,0x00,0x00,0x07,0x80,0x08,0x08,0x00,0x00,0x00,0x00,OxOF,0x00,OxOE,0x00,0x00,0x00,0x00,0x00,OxOE,0x00,0x03,0x8,0x00,0x00,0x00,0x00,0x06,0x00,0x01,OxFE,0x00,0x00,0x01,0xF8,0x00,0x00,0x00,0x7F,0xFF,0xFF,0xFF,0xC0,OxOO,OxOO,OxOO,OxlF,OxFF,OxFF,OxFF,OxOO,0x00,0x00,0x00,OxOLOxFFQxFFQxFF,0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0xFF,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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};charchu64L[]={/*以下是'出'的64点阵隶书字模,512byte*/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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,0x00,0x08,0x00,0x01,0x80,0x00,0x40,0x00,0x00,OxOE,0x00,0x01,0x80,0x00,0x70,0x00,0x00,0x0^0x80,0x01,0x80,0x00,0x70,0x00,0x00,OxOE,0x00,0x01,0x80,0x00,0x60,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x60,0x00,0x00,0x0^0x00,0x01,0x80,0x00,0x60,0x00,0x00,0x04,0x00,0x01,0x80,0x00,0x60,0x00,0x00,0x04,0x00,0x01,0x80,0x00,0x60,0x00,0x00,0x04,0x00,0x01,0x80,0x00,0x60,0x00,0x00,0x04,0x00,0x01,0x80,0x00,0x60,0x00,0x00,0x04,0x00,0x01,0x80,0x00,0x60,0x00,0x00,0x04,0x00,0x01,0x80,0x00,0x60,0x00,0x00,0x04,0x00,0x01,0x80,0x00,0x60,0x00,0x00,0x04,0x00,0x01,0x80,0x00,0x60,0x00,0x00,0x04,0x00,0x01,0x80,0x00,0x60,0x00,0x00,0x04,0x00,0x01,0x80,0x00,0x60,0x00,0x00,OxOC,0x00,0x01,0x80,0x00,0x60,0x00,0x00,0xlF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x00,OxOE,0x00,0x01,0x80,0x00,0x60,0x00,0x00,0x04,0x00,0x01,0x80,0x00,0x60,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x60,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,0x00,0x30,0x00,0x01,0x80,0x00,0x10,0x00,0x00,Ox3C,0x00,0x01,0x80,0x00,OxlC,0x00,0x00,0x3C,0x00,0x01,0x80,0x00,OxlEQxOO,0x00,0x30,0x00,0x01,0x80,0x00,0x10,0x00,0x00,0x30,0x00,0x01,0x80,0x00,0x18,0x00,0x00,0x30,0x00,0x01,0x80,0x00,0x18,0x00,0x00,0x30,0x00,0x01,0x80,0x00,0x18,0x00,0x00,0x10,0x00,0x01,0x80,0x00,0x08,0x00,0x00,0x10,0x00,0x01,0x80,0x00,0x08,0x00,0x00,0x10,0x00,0x01,0x80,0x00,0x08,0x00,0x00,0x10,0x00,0x01,0x80,0x00,0x08,0x00,0x00,0x10,0x00,0x01,0x80,0x00,0x08,0x00,0x00,0x10,0x00,0x01,0x80,0x00,0x08,0x00,0x00,0x10,0x00,0x01,0x80,0x00,0x06,0x00,0x00,0x10,0x00,0x01,0x80,0x00,OxOC,0x00,0x00,0x10,0x00,0x01,0x80,0x00,OxOC,0x00,0x00,0x10,0x00,0x01,0x80,0x00,0x06,0x00,0x00,0x30,0x00,0x01,0x80,0x00,0x06,0x00,0x00,0x7F,0xFF,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x30,0x00,0x00,0x00,0x00,OxOC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,OxOC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,OxOC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,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,0x00,charmo64L[]={/*以下是‘魔'的64点阵隶书字模,512byte*/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,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x00,0x03,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x07,0x80,0x00,0xlF,0xFF,0xFF,0xFF,0xFF,0xFF,0x8,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x40,0x00,0x18,0x00,0x00,0x00,0x10,0x00,0x70,0x00,0x10,0x00,0x00,0x00,0x10,0x00,0x40,0x00,0x10,0x00,0x00,0x00,0x10,0x00,0x40,0x00,0x10,0x02,0x00,0x00,0x10,0x00,0x43,0x00,0x10,0x07,0x00,0x00,0x11,0xFF,0xFF,0x9F,0xFF,0xFF,0x80,0x00,0x10,OxFOQxCOQxOF,0x38,0x00,0x00,0x00,0x10,0x00,0x60,0x00,0x70,0x00,0x00,0x00,0x10,OxOlQxEO,0x00,0x72,0x00,0x00,0x00,0x10,0x03,OxCC,0x00,OxFlQxOO,0x00,0x00,0x10,0x03,0x67,0x01,0x91,0x80,0x00,0x00,0x10,0x06,0x43,0x03,0x10,0x00,0x00,0x00,0x10,0x06,0x61,0x00,0x10,0x60,0x00,0x00,0x10,0x08,0x61,0x18,0x10,0x30,0x00,0x00,0x10,0x10,0x60,0x20,0x10,0x1^0x80,0x00,0x10,0x20,OxCOQxCO,0x10,OxOFQxEO,0x00,0x10,0x40,OxCl,0x00,0x10,0x07,0x80,0x00,0x10,0x00,0x60,0x38,0x10,0x01,0x00,0x00,0x10,0x00,0x80,0x20,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x40,0x00,0x20,0x00,0x00,0x10,0x04,0x00,0x00,0x00,0x70,0x00,0x00,0x10,0x07,0xFF,0xFF,0xFF,0xF8,0x00,0x00,0x10,0x04,0x00,0x18,0x00,0x30,0x00,0x00,0x30,0x04,0x00,0x18,0x00,0x30,0x00,0x00,0x30,0x04,0x00,0x18,0x00,0x30,0x00,0x00,0x30,0x04,0x00,0x18,0x00,0x30,0x00,0x00,0x30,0x07,0xFF,0xFF,0xFF,0xF0,0x00,0x00,0x30,0x04,0x00,0x30,0x00,0x30,0x00,0x00,0x20,0x04,0x00,0x30,0x00,0x30,0x00,0x00,0x20,0x04,0x00,0x30,0x00,0x30,0x00,0x00,0x60,0x04,0x00,0x30,0x00,0x30,0x00,0x00,0x60,0x07,0xFF,0xFF,0xFF,0xF0,0x00,0x00,0x40,0x04,0x00,0x78,0x00,0x20,0x00,0x00,0x40,0x04,0x00,0xF8,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0xC8,0x06,0x00,0x00,0x00,0x80,0x00,0x01,0x88,0x07,0x00,0x00,0x00,0x80,0x00,0x03,0x08,0x08,0x00,0x00,0x00,0x80,0x00,0x07,0x08,0x10,0x40,0x00,0x01,0x00,0x00,0x06,0x08,0x00,0x30,0x00,0x01,0x00,0x00,OxOC,0x08,0x00,0x18,0x00,0x00,0x00,0x00,0x38,0x08,0xFF,0xC8,0x00,0x02,0x00,0x00,0x70,0x08,0x76,0x08,0x00,0x00,0x00,0x00,OxCO,0x08,0x20,0x08,0x00,0x04,0x00,0x03,0x80,0x08,0x00,0x00,0x40,0x00,0x00,OxOE,0x00,OxOC,0x00,0x00,OxEO,0x00,0x00,0x38,0x00,OxOF,OxFF,OxFF,OxEO,0x00,0x00,OxCO,0x00,0x0F,0xFF,0xFF,0xC0,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,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,};charfang64L[]={/*以下是方的64点阵隶书字模,512byte*/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,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,OxOC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x03,OxCO,0x00,0x00,0x00,0x00,0x00,0x00,0x01,OxEO,0x00,0x00,0x00,0x00,0x00,0x00,OxOlQxEO,0x00,0x00,0x00,0x00,0x00,0x00,0x00,OxEO,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x03,OxEO,0x0F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0,0x04,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x16,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x16,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x16,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x16,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x18,0x00,0x01,OxCO,0x00,0x00,0x00,0x00,0x3F,0xFF,0xFF,0xE0,0x00,0x00,0x00,0x00,0x30,0x00,0x01,0x60,0x00,0x00,0x00,0x00,0x30,0x00,0x01,0x80,0x00,0x00,0x00,0x00,0x30,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x30,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x60,0x00,0x03,0x80,0x00,0x00,0x00,0x00,0x60,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x07,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x07,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x18,0x00,0x00,OxOE,0x00,0x00,0x00,0x00,0x10,0x00,0x00,OxOE,0x00,0x00,0x00,0x00,0x20,0x00,0x00,OxOC,0x00,0x00,0x00,0x00,0x60,0x00,0x00,0x06,0x00,0x00,0x00,0x00,OxCO,0x00,0x00,OxOC,0x00,0x00,0x00,0x01,0x80,0x00,0x00,OxlC,0x00,0x00,0x00,0x03,0x00,0x00,0x00,OxlC,0x00,0x00,0x00,0x04,0x00,0x03,0x60,0x38,0x00,0x00,0x00,0x08,0x00,0x00,0xFF,0xF8,0x00,0x00,0x00,0x10,0x00,0x00,0x3F,0xF0,0x00,0x00,0x00,0x40,0x00,0x00,OxlFQxFO,0x00,0x00,0x00,0x80,0x00,0x00,OxOF,OxEO,0x00,0x00,0x02,0x00,0x00,0x00,0x07,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x02,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,charjie64L[]={/*以下是'阶'的64点阵隶书字模,512byte*/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,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x02,0x00,0x08,0x00,0x0^0x00,0x00,0x00,0x03,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x03,OxFFQxFE,0x00,OxlC,0x00,0x00,0x00,0x03,0x00,0x16,0x00,0x18,0x00,0x00,0x00,0x03,0x00,0x38,0x00,0x30,0x40,0x00,0x00,0x03,0x00,0x30,0x00,0x30,0x20,0x00,0x00,0x03,0x00,0x30,0x00,0x60,0x20,0x00,0x00,0x03,0x00,0x20,0x00,0x60,0x10,0x00,0x00,0x03,0x00,0x60,0x00,0x60,0x08,0x00,0x00,0x03,0x00,0x40,0x01,0x80,OxOC,0x00,0x00,0x03,0x00,0x40,0x01,0x80,0x06,0x00,0x00,0x03,0x00,0x80,0x03,0x00,0x07,0x00,0x00,0x03,0x00,0x80,0x06,0x00,0x03,0x80,0x00,0x03,0x00,0x00,OxOC,0x00,0x01,OxEO,0x00,0x03,0x01,0x00,0x08,0x00,0x00,OxFO,0x00,0x03,0x00,0x00,0x10,0x00,0x00,0x76,0x00,0x03,0x00,0x00,0x20,0x00,0x00,Ox3F,0x80,0x03,0x00,0x00,0x40,0x00,0x00,Ox1F,OxFO,0x03,0x00,0x00,0x80,0x00,0x00,0x07,OxEO,0x03,0x00,0x00,0x01,0x80,0x04,0x03,OxCO,0x03,0x00,0x04,0x01,OxEO,0x07,0x00,0x80,0x03,0x00,0x00,0x01,0x60,0x07,0x00,0x00,0x03,0x00,0x40,0x01,0x80,0x06,0x00,0x00,0x03,0x00,0x20,0x01,0x80,0x06,0x00,0x00,0x03,0x00,0x20,0x01,0x80,0x06,0x00,0x00,0x03,0x00,0x10,0x01,0x80,0x06,0x00,0x00,0x03,0x00,0x18,0x01,0x80,0x06,0x00,0x00,0x03,0x00,0x08,0x01,0x80,0x06,0x00,0x00,0x03,0x00,0x08,0x01,0x80,0x06,0x00,0x00,0x03,0x00,0x0^0x01,0x80,0x06,0x00,0x00,0x03,0x00,0x06,0x01,0x80,0x06,0x00,0x00,0x03,0x00,0x06,0x01,0x80,0x06,0x00,0x00,0x03,0x00,0x06,0x01,0x80,0x06,0x00,0x00,0x03,0x00,OxOC,0x01,0x80,0x06,0x00,0x00,0x03,0x00,0x16,0x01,0x80,0x06,0x00,0x00,0x03,OxFO,0x38,0x01,0x80,0x06,0x00,0x00,0x03,0xlF,0xF8,0x01,0x80,0x06,0x00,0x00,0x03,0x07,OxFO,0x01,0x80,0x06,0x00,0x00,0x03,0x03,OxEO,0x01,0x00,0x06,0x00,0x00,0x03,0x01,0x80,0x03,0x00,0x06,0x00,0x00,0x03,0x00,0x00,0x03,0x00,0x06,0x00,0x00,0x03,0x00,0x00,0x03,0x00,0x06,0x00,0x00,0x03,0x00,0x00,0x02,0x00,0x06,0x00,0x00,0x03,0x00,0x00,0x06,0x00,0x06,0x00,0x00,0x03,0x00,0x00,0x04,0x00,0x06,0x00,0x00,0x03,0x00,0x00,OxOC,0x00,0x06,0x00,0x00,0x03,0x00,0x00,0x18,0x00,0x06,0x00,0x00,0x03,0x00,0x00,0x10,0x00,0x06,0x00,0x00,0x03,0x00,0x00,0x20,0x00,0x06,0x00,0x00,0x03,0x00,0x00,0x40,0x00,0x06,0x00,0x00,0x03,0x00,0x00,0x80,0x00,0x06,0x00,0x00,0x03,0x00,0x02,0x00,0x00,0x06,0x00,0x00,0x03,0x00,0x04,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,0x00,0x00,0x00,0x00,0x00,};drawmat(san64L/64/220-0/110.5-15/14);drawmat(jie64L/64/370/110.5-15/14);drawmat(si64L/64/220/185.5-15/2);drawmat(jie64L/64/370/188.5-15/2);drawmat(wu64Lz64/220/260.5-15/4);drawmat(jie64L/64,370,260.5-15/4);drawmat(tui64L,64,220,335.5-20,ll);drawmat(chu64L,64,370,335.5-20,11);drawmat(mo64L/64/150/0/6);drawmat(fang64Lz64/420/0/6);}voidupbar(inty)(setcolor(GREEN);line(200-30/y/200-37.5*sqrt(3)-30/y-37.5);line(200-30/y/200-37.5*sqrt(3)-30/y+37.5);line(200-37.5*sqrt(3)-30/y-37.5/200-37.5*sqrt(3)-30/y+37.5);voiddownbar(inty)(setcolor(GREEN);line(200-30/y/200-37.5*sqrt(3)-30/y-37.5);line(200-30,y/200-37.5*sqrt(3)-30/y+37.5);line(200-37.5*sqrt(3)-30/y-37.5/200-37.5*sqrt(3)-30/y+37.5);三阶魔方函数#include<stdlib.h>include<stdio.h>include<math.h>#include"cbsan.c"voidmofangsan(void);voiddrawmatsan(char*mat,intmatsize,intxjntyjntcolor);voidmofangsan(void);voidhuafintxjnty);voidpanduan(inta[][3]);voiddrawl(intxl,intyl){intpoly[18];setcolor(YELLOW);setlinestyle(O,O,l);poly[0]=xl-50;poly[l]=yl;poly[2]=xl-50/5;poly[3]=yl-50/5;poly[4]=xl;poly[5]=yl-50;poly[6]=xl+50^;poly[7]=yl-50/5;poly[8]=xl+50;poly[9]=yl;poly[10]=xl+50^;poly[ll]=yl+50/5;poly[12]=xl;poly[13]=yl+50;poly[14]=xl-50^;poly[15]=yl+50/5;poly[16]=xl-50;poly[17]=yl;drawpoly(9,poly);)voiddraw2(intxljntyl){intpoly[18];setcolor(YELLOW);setlinestyle(O,O,l);poly[0]=xl-50;poly[l]=yl;poly[2]=xl-50/5;poly[3]=yl-50^;poly[4]=xl;poly[5]=yl-50;poly[6]=xl+50^;poly[7]=yl-50^;poly[8]=xl+50;poly[9]=yl;poly[10]=xl+50^;poly[ll]=yl+503poly[12]=xl;poly[13]=yl+50;poly[14]=xl-50^;poly[15]=yl+50^;poly[16]=xl-50;poly[17]=yl;drawpoly(9,poly);voidsanjie(void){intxl,yl,ky,k=0,x,y,c[50]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},w=0;inta[3][3]={0,0,0,0,0,0,0,0,0},s[6],emH3]={0,0,0,0,0,0,0,0,0};intgdriver,mode/n=3Jj/poly[10Lb=8Jl/il,d=0;charsl[2];gdriver=DETECT;initgraph(&gdriver,&mode,"");setbkcolor(BLACK);setcolor(RED);setwritemode(XOR_PUT);for(j=0;j<n;j++){for(i=0;i<n;i++){poly[0]=170+100*j-20;poly[l]=90+100*i;poly[2]=270+100*j-20;poly[3]=90+100*i;poly[4]=270+100*j-20;poly[5]=190+100*i;poly[6]=170+100*j-20;poly[7]=190+100*i;poly[8]=170+100*j-20;poly[9]=90+100*i;drawpoly(5zpoly);setfillstyle(10,BLACK+i+j+5);fillpoly(5,poly);)}mofangsan();line(150390,450390);rectangle(100,40,500,440);x=125;for(y=65;y<=415;y+=50){setcolor(b++);hua(x,y);}x=475;b=8;for(y=65;y<=415;y+=50)setcolor(b+=l);hua(x,y);}y=415;b=8;for(x=175;x<=475;x+=50)setcolor(b+=l);hua(xzy);)y=65;b=8;for(x=175;x<=425;x+=50)(setcolor(b+=l);hua(x,y);)xl=300/yl=240;drawl(xl,yl);j=U=l;do{w++;ky=bioskey(0);while(ky!=Key_ENTER){switch(ky){caseKey_ESC:exit(O);caseKey_UP:{draw2(xl,yl);if(yl>140){yl-=100;drawl(xl,yl);break;)caseKey_DOWN:{draw2(xl,yl);if(yl<340){yl+=100;j+=l;}drawl(xl,yl);break;caseKey_LEFT:{draw2(xl,yl);if(xl>220-20){
xl-=100;drawl(xl,yl);break;}caseKey_RIGHT:{draw2(xl,yl);if(xl<420-20){xl+=100;i+=l;}drawl(xl,yl);break;)ky=bioskey(0);d=0;gets(sl);c[w]=atoi(sl);for(jl=0;jl<3;jl++)for(il=0;il<3;il++)
if(c[w]==aDl][il])
d=l;if((c[w]>=l)&&(c[w]<=9)&&(d==0)&&e[j][i]==0)
(settextstyle(0,0,2);a[j][i]=c[w];rtn(aD][i],xl,yl);eU][i]=l;k++;}while(k!=9);for(i=0;i<100;i++)delay(3000);panduan(a);getch();}voidpanduanfinta[][3]){inti,iljlj,k,poly[10],s[8]={0,0,0,0,0,0,0,0}/ky,x,y,b=8;
charfor(j=0;j<3;j++){for(i=0;i<3;i++)sU]+=aU][i];}for(i=0;i<3;i++){
for(j=0;j<3;j++)s[i+3]+=a[j][i];)for(j=0;j<3;j++)for(i=0;i<3;i++)if(i==j){s[6]=s[6]+aU][i];}for(j=0;j<3;j++)for(i=0;i<3;i++)if(j+i==2){s[7]=s[7]+aU][i];}if((s[0]==s[l]&&s[l]==s[2]&&s[2]==s[3]&&s[4]==s[3]&&s[4]==s[5]&&s[7]==s[5]&&s[6]==s[7])==l){delay(2000);delay(2000);xiaosan();else{ delay(2000);delay(2000);kusan();ky=bioskey(0);if(ky==Key_END){cleardevice();setbkcolor(BLACK);k=0;setlinestyle(O,Ozl);for(j=0;j<3;j++)for(i=0;i<3;i++){setcolor(RED);poly[0]=170+100*j-20;poly[l]=90+100*i;poly[2]=270+100*j-20;poly[3]=90+100*i;poly[4]=270+100*j-20;poly[5]=190+100*i;poly[6]=170+100*j-20;poly[7]=190+100*i;poly[8]=170+100*j-20;poly[9]=90+100*i;drawpoly(5zpoly);setfillstyle(10,BLACK+i+j+5);fillpoly(5,poly);setcolor(k+2);settextstyle(0,0,4);outtextxy(200+100*j-20+2/140+100*i-5/p[k]);k++;}mofangsan();line(150,390,450,390);rectangle(100,40,500,440);x=125;for(y=65;y<=415;y+=50){setcolor(b++);hua(x,y);}x=475;b=8;for(y=65;y<=415;y+=50)setcolor(b+=l);hua(x,y);}y=415;b=8;for(x=175;x<=475;x+=50)setcolor(b+=l);hua(x,y);)V=65;b=8;for(x=175;x<=425;x+=50)setcolor(b+=l);hua(x,y);}}elseexit(O);}voidhua(intx,inty){line(x-25,y,x+25,y);line(x,y-25,x,y+25);line(x-25/sqrt(
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年二手车销售协议:全面细化版版B版
- 2024年不动产权益测绘服务协议版
- 2024年大型云计算中心建设项目合同
- 2024协议起诉离婚的法律程序
- 江南大学《复变函数与积分变换》2022-2023学年第一学期期末试卷
- 江南大学《产品工程设计基础》2023-2024学年第一学期期末试卷
- 佳木斯大学《美学概论》2021-2022学年第一学期期末试卷
- 佳木斯大学《儿科学实验》2021-2022学年第一学期期末试卷
- 暨南大学《金融数学》2019-2020学年第一学期期末试卷
- 暨南大学《歌曲作法》2023-2024学年第一学期期末试卷
- 幼儿园绘本故事:《感谢的味道》 PPT课件
- GRRJMP分析步骤实用教案
- 商务团队合作培训通用PPT课件
- 高中英语人教版(2019)必修第一册 高一英语知识点讲义
- 教科版五年级科学上册《第三单元 计量时间》复习课件PPT小学优秀教学课件
- 网络安全检查表完整参考模板
- 海南省规模化养殖业废弃物综合利用与污染物防治技术指南试行
- 三位数乘两位数计算题360道
- PIV操作流程详解要点
- HDS-存储-AMS1000配置安装手册_图文
- 组合逻辑课程设计4位二进制全加器全减器原创
评论
0/150
提交评论