主题:数据结构课程设计C描述 民航售票处的服务系统 源代码200行左右
xhtxht
[专家分:0] 发布于 2005-02-24 10:29:00
[问题描述]
设民航售票处的服务系统提供下列服务:
(1)查询航线:顾客提出终点站输出下列信息:
航班号.飞机号,星期几飞行,最近一天航班的日期和余票额.
(2)订票业务;据顾客要求(航班号,订票额)查询该航班票额情况,若有余票,办理售票手续,输出座位号;若已满员或票额不足,则另询顾客要求.若需要,可预约登记排队等候.
(3)退票业务:根据顾客情况(日期,航班)为顾客办理退票手续,然后查询该航班是否有人预约登记,首先询问排在第一位的顾客,若退票额能满足他的要求,则为他办理退票手续,否则依次询问其他排队预约的顾客.
回复列表 (共144个回复)
21 楼
计机033-472 [专家分:0] 发布于 2005-06-06 22:00:00
顶你个20楼,自己不会做还在这里说,讲给李晟听!!!
22 楼
liyu355 [专家分:980] 发布于 2005-06-07 00:39:00
/*注意,请在C盘跟目录下安装TC,否则程序将不能运行~!*/
#include "graphics.h"
#include "dos.h"
#include "stdlib.h"
#include "conio.h"
#define closegr closegraph
#include "stdio.h"
void initgr(void) /* BGI初始化 */
{
int gd=DETECT,gm=0; /* 和gd=VGA,gm=VGAHI是同样效果 */
registerbgidriver(EGAVGA_driver);/* 注册BGI驱动后可以不需要.BGI文件的支持运行 */
initgraph(&gd,&gm,"d:\\tc");
}
void draw_image(int x,int y);
void putstar();
void putstar(void);
void printwaiter(char hb[10]);
void drawmat(char *mat,int matsize,int x,int y,int color)
/*依次:字模指针、点阵大小、起始坐标(x,y)、颜色*/
{int i,j,k,n;
n=(matsize-1)/8+1;
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);
}
void zitu()
{settextstyle(4, 0, 4);
};
int waiters=0,haver=0,weizhi=0;
int d[20],p=0;
typedef struct hangxian
{char name[20];
char hangban[10];
int shumu;
int dengji;
int zuowei[100];
}huan;
huan waiter[30];
huan have[30];
typedef struct node
{char add[20];
char banci[10];
char feiji[10];
long data;
char da[10];
int dinge;
int yupiao;
struct hangxian huan;
}hangban;
struct node hang[30]={{"shanghai","0001","b-001",035,"0:35",100,100},
{"shanghai","0002","b-002",130,"1:30",100,100},
{"beijing","0003","b-003",140,"1:40",100,100},
{"beijing","0004","b-004",350,"3:50",100,100} ,
{"shenzhen","0005","b-005",410,"4:10",100,100},
{"changsha","0006","b-006",450,"4:50",100,100} ,
{"dalian","0007","b-007",550,"5:50",100,100},
{"haerbin","0008","b-008",555,"5:55",100,100},
{"lvshun","0009","b-009",610,"6:10",100,100} ,
{"hainan","0010","c-001",630,"6:30",100,100} ,
{"taiwan","0011","c-002",740,"7:40",100,100} ,
{"Hongkong","0012","c-003",730,"7:30",100,100} ,
{"chongqing","0013","c-004",930,"9:30",100,100},
{"American","0014","d-001",1230,"12:30",100,100},
{"England","0015","d-002",1340,"13:40",100,100} ,
{"France","0016","d-003",1640,"16:40",100,100} ,
{"Italy","0017","d-004",2030,"20:30",100,100} ,
{"Singapore","0018","d-005",2140,"21:40",100,100} ,
{"Brazil","0019","d-006",2240,"22:40",100,100},
{"Guba","0020","d-007",2350,"23:50",100,100} };
void wenjian()
{int i;
FILE *fp1;
if((fp1=fopen("file1.txt","r"))==0)
{close(fp1);
fp1=fopen("file1.txt","w");
for(i=0;i<=19;i++)
fprintf(fp1,"%s %s %s %s %d %d ",hang[i].add,hang[i].banci,hang[i].feiji,hang[i].da,hang[i].dinge,hang[i].yupiao);
fclose(fp1);
}
fp1=fopen("file1.txt","r");
for(i=0;i<=19;i++)
fscanf(fp1,"%s %s %s %s %d %d ",&hang[i].add,&hang[i].banci,&hang[i].feiji,&hang[i].da,&hang[i].dinge,&hang[i].yupiao);
fclose(fp1);
fp1=fopen("file1.txt","w");
for(i=0;i<=19;i++)
fprintf(fp1,"%s %s %s %s %d %d ",hang[i].add,hang[i].banci,hang[i].feiji,hang[i].da,hang[i].dinge,hang[i].yupiao);
fclose(fp1);
}
char qingmain[]={
/* 以下是 '请' 的 48点阵隶书 字模,288 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x0E,0x00,0x00,
0x00,0x40,0x00,0x0E,0x00,0x00,0x00,0xF0,
0x00,0x0E,0x00,0x00,0x00,0xF8,0x0F,0xFF,
0xFF,0x00,0x00,0xFE,0x18,0x0E,0x00,0x00,
0x00,0x1F,0x00,0x0E,0x00,0x00,0x00,0x00,
0x00,0x0E,0x00,0x00,0x00,0x00,0x07,0xFF,
0xFE,0x00,0x00,0x00,0x00,0x0E,0x00,0x00,
0x00,0x10,0x00,0x0E,0x00,0x00,0x1F,0xF8,
0x7F,0xFF,0xFF,0xFE,0x3F,0xF8,0xFF,0x00,
0xFF,0xFC,0x3C,0x79,0xE0,0x00,0x01,0xF8,
0x00,0x79,0x00,0x00,0x18,0x00,0x00,0x78,
0x03,0xFF,0xFC,0x00,0x00,0x78,0x03,0x80,
0x3C,0x00,0x00,0x70,0x03,0x00,0x1C,0x00,
0x00,0x70,0x03,0x80,0x3C,0x00,0x00,0x70,
0x03,0xFF,0xFC,0x00,0x00,0x70,0x03,0x80,
0x3C,0x00,0x00,0x70,0x03,0x00,0x3C,0x00,
0x00,0x79,0x03,0xFF,0xFC,0x00,0x00,0x7F,
0x07,0x00,0x3C,0x00,0x00,0xFE,0x06,0x00,
0x3C,0x00,0x00,0xFC,0x0E,0x00,0x3C,0x00,
0x01,0xF8,0x1C,0x00,0x3C,0x00,0x01,0xE0,
0x3C,0x00,0x3C,0x00,0x00,0xC0,0xF8,0x00,
0x3C,0x00,0x00,0x00,0x20,0x00,0x3C,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};
char xuanmain[]={
/* 以下是 '选' 的 48点阵隶书 字模,288 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x0C,0x00,0x00,
0x00,0x00,0x04,0x1C,0x00,0x00,0x00,0xE0,
0x06,0x1E,0x00,0x00,0x00,0xF8,0x0E,0x1E,
0x00,0x00,0x00,0xFE,0x0E,0x1E,0x00,0x00,
0x00,0x3E,0x0F,0xFF,0xF8,0x00,0x00,0x00,
0x1F,0xFF,0xFC,0x00,0x00,0x00,0x18,0x1E,
0x00,0x00,0x00,0x00,0x20,0x1E,0x00,0x00,
0x00,0x04,0x00,0x1E,0x00,0x00,0x0F,0xFE,
0x1F,0xFF,0xFF,0x00,0x0E,0x0E,0x3F,0xFF,
0xFF,0x00,0x00,0x0E,0x70,0x63,0x00,0x00,
0x00,0x0C,0x00,0x63,0x00,0x00,0x00,0x18,
0x00,0xE3,0x00,0x00,0x00,0x38,0x00,0xE3,
0x00,0x00,0x00,0x18,0x01,0xC3,0x00,0x00,
0x00,0x18,0x03,0xC3,0x80,0x00,0x00,0x18,
0x0F,0x81,0xC0,0x80,0x00,0x18,0x3F,0x01,
0xFF,0x00,0x07,0x90,0x38,0x00,0xFF,0x00,
0x1F,0xFC,0x00,0x00,0x7C,0x00,0x3C,0x0F,
0xF0,0x00,0x00,0x00,0x30,0x00,0x7F,0xC0,
0x00,0x06,0x00,0x00,0x07,0xFF,0xFF,0xFC,
0x00,0x00,0x00,0x7F,0xFF,0xFC,0x00,0x00,
0x00,0x07,0xFF,0xF8,0x00,0x00,0x00,0x00,
0x7F,0xF0,0x00,0x00,0x00,0x00,0x0F,0xE0,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
char zhemain[]={
/* 以下是 '择' 的 48点阵隶书 字模,288 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x1C,0x00,0x00,0x00,0x00,
0x00,0x1C,0x00,0x00,0x10,0x00,0x00,0x1C,
0x03,0xFF,0xFC,0x00,0x00,0x1C,0x07,0xC0,
0x7C,0x00,0x00,0x1C,0x06,0x00,0x70,0x00,
0x00,0x1C,0x00,0x00,0x60,0x00,0x0F,0xFF,
0xE0,0xC0,0xC0,0x00,0x0F,0xFC,0x00,0x39,
0x80,0x00,0x04,0x3C,0x00,0x0F,0x80,0x00,
0x00,0x3C,0x00,0x0F,0xF0,0x00,0x00,0x3C,
0x00,0x38,0x7F,0x00,0x00,0x3F,0x80,0xE0,
0x1F,0xFC,0x00,0x3F,0x03,0x86,0x07,0xF8,
0x03,0xFC,0x3C,0x0F,0x01,0xF0,0x0F,0xFC,
0x10,0x0F,0x00,0x40,0x1F,0xBC,0x02,0x0F,
0x00,0x00,0x0C,0x3C,0x07,0xFF,0xFE,0x00,
0x00,0x3C,0x04,0x0F,0x00,0x00,0x00,0x3C,
0x00,0x0F,0x00,0x00,0x00,0x3C,0x00,0x0F,
0x00,0x00,0x00,0x3E,0x0F,0xFF,0xFE,0x00,
0x00,0x3E,0x1F,0xFF,0xFF,0x00,0x00,0x3E,
0x00,0x0F,0x00,0x00,0x00,0x3E,0x00,0x0F,
0x00,0x00,0x00,0x3C,0x00,0x0F,0x00,0x00,
0x18,0xFC,0x00,0x0F,0x00,0x00,0x0F,0xF8,
0x00,0x0F,0x00,0x00,0x03,0xE0,0x00,0x0F,
0x00,0x00,0x00,0x00,0x00,0x0F,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
char gongmain[]={
/* 以下是 '功' 的 48点阵隶书 字模,288 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,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,0xC0,0x00,0x00,0x00,
0x00,0x01,0xE0,0x00,0x00,0x00,0x00,0x01,
0xE0,0x00,0x00,0x00,0x00,0x01,0xE0,0x00,
0x03,0x00,0x00,0x03,0xC0,0x00,0x07,0xFF,
0xF0,0xC3,0xC0,0x00,0x0F,0xFF,0xF9,0xFF,
0xC0,0x00,0x0E,0x1E,0x03,0xFF,0xFF,0xC0,
0x00,0x1C,0x03,0x83,0x8F,0xE0,0x00,0x1C,
0x00,0x07,0x81,0xF0,0x00,0x1C,0x00,0x07,
0x00,0xF0,0x00,0x1C,0x00,0x07,0x00,0xF0,
0x00,0x1C,0x00,0x0E,0x00,0xF0,0x00,0x1E,
0x00,0x0E,0x00,0xE0,0x00,0x1F,0xFC,0x1C,
0x01,0xE0,0x00,0x7F,0xF0,0x38,0x01,0xE0,
0x0F,0xFF,0x00,0x78,0x03,0xC0,0x7F,0xF8,
0x00,0xF0,0x03,0xC0,0x7F,0xC0,0x01,0xE0,
0x07,0x80,0x7C,0x00,0x03,0xC0,0x07,0x80,
0x00,0x00,0x0F,0x80,0x0F,0x00,0x00,0x00,
0x1F,0x00,0x1F,0x00,0x00,0x00,0x7E,0x00,
0x3E,0x00,0x00,0x00,0xF8,0x10,0x7C,0x00,
0x00,0x03,0xF0,0x1F,0xFC,0x00,0x00,0x0F,
0xC0,0x0F,0xF0,0x00,0x00,0x3F,0x00,0x03,
0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};
char nengmain[]={
/* 以下是 '能' 的 48点阵隶书 字模,288 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x07,0x00,0x10,0x00,0x00,
0x00,0x0F,0x00,0x38,0x08,0x00,0x00,0x1E,
0x00,0x30,0x1C,0x00,0x00,0x3C,0x00,0x70,
0x3C,0x00,0x00,0x70,0xE0,0x70,0xF8,0x00,
0x00,0xE0,0xF0,0x77,0xC0,0x00,0x01,0xC0,
0x38,0x7C,0x00,0x00,0x03,0xC0,0x3C,0x70,
0x00,0x00,0x07,0xF1,0xC4,0x70,0x00,0x00,
0x00,0x1F,0x00,0x38,0x06,0x00,0x00,0x00,
0x00,0x3F,0xFE,0x00,0x00,0x20,0x00,0x0F,
0xFC,0x00,0x00,0x7F,0xF8,0x00,0x00,0x00,
0x00,0x78,0x38,0x00,0x00,0x00,0x00,0x70,
0x18,0x38,0x00,0x00,0x00,0x70,0x18,0x30,
0x0C,0x00,0x00,0x7F,0xF8,0x70,0x1C,0x00,
0x00,0x70,0x18,0x70,0x7C,0x00,0x00,0x70,
0x18,0x77,0xF0,0x00,0x00,0x70,0x18,0x7F,
0x80,0x00,0x00,0x7F,0xF8,0x70,0x00,0x00,
0x00,0x78,0x78,0x70,0x00,0x00,0x00,0xE0,
0x18,0x38,0x00,0x00,0x01,0xC0,0x18,0x3F,
0x00,0x0C,0x03,0xC0,0x18,0x1F,0xFF,0xFC,
0x1F,0x80,0x18,0x0F,0xFF,0xF8,0x3F,0x00,
0x18,0x03,0xFF,0xF8,0x1E,0x00,0x18,0x00,
0x3F,0xF0,0x00,0x00,0x10,0x00,0x01,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,};/*给我评分,给我评分,要不下次不给了*/
23 楼
liyu355 [专家分:980] 发布于 2005-06-07 00:40:00
char jianmain[]={
/* 以下是 '键' 的 48点阵隶书 字模,288 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,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,0x0C,0x00,0x01,0x80,0x00,0x00,0x18,
0x00,0x01,0x80,0x00,0x00,0x38,0x00,0x0F,
0xFE,0x00,0x00,0x70,0x00,0x11,0x86,0x00,
0x00,0xFF,0x00,0x01,0x86,0x00,0x03,0xC0,
0x3F,0x01,0x86,0x00,0x0F,0x80,0x07,0x7F,
0xC7,0xE0,0x3E,0x00,0x06,0x01,0xC6,0x00,
0x3B,0xE0,0x04,0x01,0xC6,0x00,0x03,0xFF,
0x88,0x1F,0xFE,0x00,0x00,0x38,0x08,0x01,
0xC0,0x00,0x00,0x38,0x1F,0x01,0xC0,0x00,
0x00,0x38,0x03,0x9F,0xFE,0x00,0x07,0xFF,
0x03,0x21,0xC0,0x00,0x0F,0xFF,0x03,0x01,
0xC0,0x00,0x00,0x38,0x03,0x01,0xC0,0x00,
0x00,0x38,0x1B,0x3F,0xFF,0x00,0x00,0x38,
0x0F,0x01,0xC0,0x00,0x00,0x38,0x07,0x81,
0xC0,0x00,0x00,0x38,0x86,0xE1,0xC0,0x00,
0x00,0x3B,0x0C,0x3D,0x80,0x00,0x00,0x7E,
0x18,0x1F,0xE0,0x00,0x00,0xFC,0x30,0x07,
0xFE,0x00,0x00,0xF8,0x60,0x01,0xFF,0xFC,
0x00,0xF1,0xC0,0x00,0xFF,0xF8,0x00,0x00,
0x00,0x00,0x3F,0xF8,0x00,0x00,0x00,0x00,
0x0F,0xF0,0x00,0x00,0x00,0x00,0x03,0xC0,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
char yimain[]={
/* 以下是 'A' 的 24点阵隶书 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x08,0x00,0x00,0x18,0x00,0x00,0x1C,0x00,
0x00,0x1C,0x00,0x00,0x3E,0x00,0x00,0x2E,
0x00,0x00,0x67,0x00,0x00,0x47,0x00,0x00,
0xC3,0x80,0x00,0x83,0x80,0x01,0xFF,0x80,
0x01,0x81,0xC0,0x01,0x01,0xC0,0x03,0x00,
0xE0,0x02,0x00,0xE0,0x06,0x00,0xF0,0x0F,
0x01,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,};
char dunhaomain[]={
/* 以下是 '、' 的 24点阵隶书 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x00,
0x00,0x1E,0x00,0x00,0x0F,0x00,0x00,0x07,
0x00,0x00,0x07,0x00,0x00,0x00,0x00,0x00,};
char chamain[]={
/* 以下是 '查' 的 24点阵隶书 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x18,0x00,0x00,0x1F,0x80,
0x07,0xFF,0xE0,0x00,0x7E,0x00,0x00,0xFF,
0xC0,0x07,0x98,0xF0,0x7F,0xFF,0xFE,0x79,
0x81,0xDE,0x01,0xFF,0xCC,0x01,0x81,0x80,
0x01,0xFF,0x80,0x00,0x83,0x80,0x02,0x00,
0x00,0x0F,0xFF,0xF0,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
char xunmain[]={
/* 以下是 '询' 的 24点阵隶书 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x18,0x00,0x1C,0x18,0x00,
0x0E,0x38,0x38,0x01,0x3F,0xF8,0x02,0x60,
0x18,0x7F,0x9F,0x18,0x66,0x31,0x98,0x06,
0x11,0x18,0x06,0x1F,0x18,0x06,0x51,0x18,
0x06,0xDF,0x18,0x07,0xA0,0x38,0x0F,0x00,
0x38,0x0E,0x03,0xF0,0x00,0x00,0xC0,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
char ermain[]={
/* 以下是 'B' 的 24点阵隶书 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
0xFC,0x00,0x00,0xFF,0x80,0x00,0xE1,0xC0,
0x00,0xE1,0xE0,0x00,0xE0,0xE0,0x00,0xE0,
0xE0,0x00,0xE1,0xC0,0x00,0xE3,0xC0,0x00,
0xFF,0x80,0x00,0xE1,0xC0,0x00,0xE0,0xE0,
0x00,0xE0,0xE0,0x00,0xE0,0xE0,0x00,0xE0,
0xE0,0x00,0xE1,0xE0,0x01,0xE3,0xC0,0x03,
0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
char dingmain[]={
/* 以下是 '订' 的 24点阵隶书 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x1C,0x30,0x00,
0x1E,0x7F,0xFE,0x06,0x61,0x8C,0x00,0x01,
0x80,0x7E,0x01,0x80,0x66,0x01,0x80,0x06,
0x01,0x80,0x06,0x01,0xC0,0x06,0x41,0xC0,
0x06,0xC1,0xC0,0x0F,0x81,0xC0,0x0F,0x23,
0x80,0x0E,0x1F,0x80,0x00,0x06,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};
char piaomain[]={
/* 以下是 '票' 的 24点阵隶书 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x07,0xFE,0x00,0x0F,0xFF,0xF0,
0x00,0x64,0x00,0x0F,0xFF,0xF0,0x0C,0x64,
0x60,0x0F,0xFF,0xE0,0x04,0x00,0x60,0x03,
0xFF,0x80,0x00,0x00,0x00,0x7F,0xFF,0xFE,
0x61,0x99,0x3C,0x03,0x99,0xC0,0x0E,0x18,
0xE0,0x18,0xF8,0x70,0x00,0x30,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};
char sanmain[]={
/* 以下是 'C' 的 24点阵隶书 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x3F,0x10,0x00,0xF1,0xD0,0x01,0xC0,0x70,
0x03,0x80,0x30,0x03,0x80,0x10,0x07,0x00,
0x10,0x07,0x00,0x00,0x0F,0x00,0x00,0x0F,
0x00,0x00,0x0F,0x00,0x00,0x07,0x00,0x00,
0x07,0x00,0x00,0x07,0x80,0x00,0x03,0x80,
0x10,0x01,0xC0,0x20,0x00,0xF0,0xC0,0x00,
0x3F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
char tuimain[]={
/* 以下是 '退' 的 24点阵隶书 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x0E,0x3F,0xE0,
0x0F,0x30,0x60,0x00,0x3F,0xE0,0x3F,0x30,
0x60,0x33,0x3F,0xE0,0x02,0x30,0x40,0x06,
0x33,0x40,0x03,0x31,0xC0,0x02,0x3E,0x60,
0x7F,0x30,0x10,0x61,0xFE,0x00,0x00,0x0F,
0xFE,0x00,0x01,0xFC,0x00,0x00,0x38,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
char simain[]={
/* 以下是 'D' 的 24点阵隶书 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,
0xFC,0x00,0x03,0xFF,0x80,0x03,0x81,0xE0,
0x03,0x80,0xF0,0x03,0x80,0x70,0x03,0x80,
0x38,0x03,0x80,0x38,0x03,0x80,0x38,0x03,
0x80,0x3C,0x03,0x80,0x3C,0x03,0x80,0x38,
0x03,0x80,0x38,0x03,0x80,0x78,0x03,0x80,
0x70,0x03,0x81,0xE0,0x03,0xC7,0xC0,0x0F,
0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
char baomain[]={
/* 以下是 '保' 的 24点阵隶书 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x80,0x00,0x03,0x3F,0xE0,
0x1F,0x30,0xE0,0x7E,0x30,0xE0,0x7E,0x3F,
0xE0,0x26,0x26,0x00,0x06,0xFF,0xF8,0x07,
0xFF,0xFE,0x06,0x26,0x5C,0x06,0x36,0xE0,
0x06,0x76,0x70,0x06,0xC6,0x38,0x07,0x86,
0x1C,0x06,0x06,0x00,0x00,0x06,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
char cunmain[]={
/* 以下是 '存' 的 24点阵隶书 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x18,0x00,0x00,0x38,0x00,
0x0F,0xFF,0xF8,0x00,0x76,0x00,0x00,0xFF,
0xE0,0x01,0xD0,0x70,0x07,0x82,0xC0,0x7F,
0x83,0x00,0x7B,0xFF,0xFE,0x03,0xC1,0x84,
0x03,0x81,0x80,0x03,0x81,0x80,0x03,0x83,
0x80,0x03,0x1F,0x00,0x00,0x06,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
char shimain[]={/* 以下是 '时' 的 24点阵宋体 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x60,0x00,0x00,0x60,0x00,0x80,0x60,0x1F,
0xC0,0x60,0x10,0x80,0x60,0x10,0x80,0x6C,
0x10,0xFF,0xF0,0x10,0x80,0x60,0x10,0x80,
0x60,0x1F,0x98,0x60,0x10,0x8C,0x60,0x10,
0x86,0x60,0x10,0x84,0x60,0x10,0x80,0x60,
0x10,0x80,0x60,0x10,0x80,0x60,0x1F,0x80,
0x60,0x10,0x80,0x60,0x00,0x00,0x60,0x00,
0x03,0xC0,0x00,0x00,0xC0,0x00,0x00,0x00,
};
char mainjian[]={
/* 以下是 '间' 的 24点阵宋体 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,
0x00,0x02,0x00,0x08,0x03,0x3F,0xF8,0x1A,
0x00,0x08,0x10,0x00,0x08,0x10,0x00,0x08,
0x10,0xFF,0x08,0x10,0x82,0x08,0x10,0x82,
0x08,0x10,0x82,0x08,0x10,0xFE,0x08,0x10,
0x82,0x08,0x10,0x82,0x08,0x10,0x83,0x08,
0x10,0x83,0x08,0x10,0xFF,0x08,0x10,0x82,
0x08,0x10,0x00,0x08,0x10,0x00,0x08,0x10,
0x00,0x78,0x10,0x00,0x30,0x00,0x00,0x00,
};
char dimain[]={
/* 以下是 '地' 的 24点阵宋体 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x03,
0x80,0x0C,0x01,0x00,0x0C,0x01,0x00,0x04,
0x31,0x00,0x04,0x31,0x00,0x04,0x31,0x18,
0x04,0x31,0x70,0x05,0xB3,0x90,0x3E,0x3D,
0x10,0x04,0xF1,0x10,0x04,0x31,0x10,0x04,
0x31,0x10,0x04,0x31,0x10,0x04,0x31,0x90,
0x04,0x33,0x70,0x04,0xF3,0x04,0x07,0x32,
0x04,0x38,0x30,0x04,0x60,0x30,0x06,0x00,
0x1F,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,
};
char dianmain[]={
/* 以下是 '点' 的 24点阵宋体 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,
0x00,0x00,0x10,0x00,0x00,0x10,0x10,0x00,
0x1F,0xF8,0x00,0x10,0x00,0x00,0x10,0x00,
0x00,0x10,0x00,0x02,0x10,0x60,0x03,0xEF,
0xE0,0x02,0x00,0x60,0x02,0x00,0x60,0x02,
0x00,0x60,0x02,0x00,0x60,0x03,0xFF,0xE0,
0x02,0x00,0x60,0x00,0x00,0x00,0x00,0x84,
0x20,0x08,0x42,0x18,0x08,0x63,0x08,0x18,
0x21,0x0C,0x30,0x00,0x00,0x00,0x00,0x00,
};
char zhang[]={
/* 以下是 '帐' 的 32点阵黑体 字模,128 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x01,0x80,0x60,0x00,
0x01,0x80,0x60,0x00,0x01,0x80,0x60,0x20,
0x01,0x80,0x60,0x60,0x01,0x80,0x60,0xC0,
0x1F,0xF8,0x60,0x80,0x1F,0xF8,0x61,0x00,
0x11,0x88,0x63,0x00,0x11,0x88,0x62,0x00,
0x11,0x88,0x60,0x00,0x11,0x88,0x60,0x00,
0x11,0x88,0x60,0x00,0x11,0x8B,0xFF,0xFC,
0x11,0x88,0x63,0x00,0x11,0x88,0x61,0x00,
0x11,0x88,0x61,0x00,0x11,0x88,0x61,0x00,
0x11,0x88,0x61,0x80,0x11,0x88,0x60,0x80,
0x11,0x98,0x60,0x80,0x11,0xB8,0x60,0xC0,
0x11,0x80,0x60,0x60,0x01,0x80,0x60,0x30,
0x01,0x80,0x64,0x38,0x01,0x80,0x7C,0x18,
0x01,0x80,0x70,0x00,0x01,0x80,0x40,0x00,
0x01,0x80,0x00,0x00,0x00,0x00,0x00,0x00,
};
char hao[]={
/* 以下是 '号' 的 32点阵黑体 字模,128 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x01,0xFF,0xFF,0x80,0x01,0x80,0x01,0x80,
0x01,0x80,0x01,0x80,0x01,0x80,0x01,0x80,
0x01,0x80,0x01,0x80,0x01,0x80,0x01,0x80,
0x01,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x80,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x3F,0xFF,0xFF,0xFC,
0x3F,0xFF,0xFF,0xFC,0x00,0x60,0x00,0x00,
0x00,0x60,0x00,0x00,0x00,0x60,0x00,0x00,
0x00,0x60,0x00,0x00,0x00,0x7F,0xFF,0x80,
0x00,0x00,0x01,0x80,0x00,0x00,0x01,0x80,
0x00,0x00,0x01,0x80,0x00,0x00,0x01,0x00,
0x00,0x00,0x01,0x00,0x00,0x00,0x03,0x00,
0x00,0x00,0x7F,0x00,0x00,0x00,0x7E,0x00,
0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x00,
};
char mi[]={
/* 以下是 '密' 的 32点阵黑体 字模,128 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,
0x00,0x01,0x80,0x00,0x00,0x01,0x80,0x00,
0x1F,0xFF,0xFF,0xF8,0x18,0x00,0x00,0x18,
0x18,0x00,0x00,0x18,0x18,0x00,0x00,0x18,
0x18,0x01,0x00,0x18,0x00,0x00,0x84,0x00,
0x01,0x18,0x0C,0x00,0x03,0x18,0x18,0x40,
0x02,0x18,0x20,0x20,0x02,0x18,0xC0,0x30,
0x02,0x19,0x00,0x10,0x00,0x1E,0x03,0x00,
0x00,0x1C,0x03,0x00,0x00,0xFF,0xFE,0x00,
0x1F,0x00,0x00,0x00,0x08,0x00,0x00,0x00,
0x00,0x00,0x80,0x00,0x01,0x80,0x80,0xC0,
0x01,0x80,0x80,0xC0,0x01,0x80,0x80,0xC0,
0x01,0x80,0x80,0xC0,0x01,0x80,0x80,0xC0,
0x01,0xFF,0xFF,0xC0,0x01,0xFF,0xFF,0xC0,
0x00,0x00,0x00,0xC0,0x00,0x00,0x00,0x00,
};
char ma[]={
/* 以下是 '码' 的 32点阵黑体 字模,128 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xF0,
0x3F,0xFC,0x00,0x30,0x01,0x80,0x00,0x20,
0x01,0x00,0x00,0x20,0x01,0x00,0x00,0x20,
0x03,0x00,0x30,0x20,0x02,0x00,0x30,0x20,
0x06,0x00,0x20,0x60,0x06,0x00,0x20,0x60,
0x0F,0xF8,0x20,0x60,0x1E,0x18,0x20,0x60,
0x3E,0x18,0x20,0x60,0x36,0x18,0x7F,0xFC,
0x06,0x18,0x7F,0xFC,0x06,0x18,0x00,0x0C,
0x06,0x18,0x00,0x0C,0x06,0x18,0x00,0x0C,
0x06,0x18,0x00,0x0C,0x07,0xF9,0xFF,0x88,
0x06,0x18,0x00,0x08,0x06,0x18,0x00,0x08,
0x06,0x18,0x00,0x08,0x06,0x00,0x00,0x18,
0x00,0x00,0x00,0xF8,0x00,0x00,0x00,0xE0,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
24 楼
liyu355 [专家分:980] 发布于 2005-06-07 00:41:00
char dian[]={
/* 以下是 '宋' 的 16点阵宋体 字模,32 byte */
/* 以下是 ':' 的 32点阵宋体 字模,128 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,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,
0x07,0x00,0x00,0x00,0x07,0x00,0x00,0x00,
0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x07,0x00,0x00,0x00,
0x07,0x00,0x00,0x00,0x06,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
char qinga[]={
/* 以下是 '请' 的 16点阵宋体 字模,32 byte */
0x00,0x40,0x47,0xFC,0x30,0x40,0x23,0xF8,
0x00,0x40,0x07,0xFE,0xF0,0x00,0x13,0xF8,
0x12,0x08,0x13,0xF8,0x12,0x08,0x13,0xF8,
0x16,0x08,0x1A,0x08,0x12,0x28,0x02,0x10,
};
char shuaa[]={
/* 以下是 '输' 的 16点阵宋体 字模,32 byte */
0x20,0x40,0x20,0x40,0xFC,0xA0,0x21,0x18,
0x43,0xF6,0x54,0x00,0xFC,0x04,0x53,0xD4,
0x12,0x54,0x1F,0xD4,0xF2,0x54,0x13,0xD4,
0x12,0x54,0x12,0x54,0x13,0x44,0x12,0x8C,
};
char rua[]={
/* 以下是 '入' 的 16点阵宋体 字模,32 byte */
0x0C,0x00,0x06,0x00,0x02,0x00,0x01,0x00,
0x03,0x00,0x02,0x80,0x02,0x80,0x04,0x40,
0x04,0x20,0x08,0x20,0x08,0x10,0x10,0x08,
0x20,0x0E,0x40,0x04,0x80,0x00,0x00,0x00,
} ;
char huana[]={
/* 以下是 '欢' 的 48点阵华文行楷 字模,288 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x30,0x00,0x00,0x00,0x00,0x00,0xF8,
0x00,0x00,0x00,0x00,0x01,0x9C,0x00,0x00,
0x00,0x00,0x01,0x1C,0x00,0x00,0x00,0x00,
0x02,0x1E,0x00,0x00,0x00,0x00,0x00,0x1C,
0x00,0x00,0x00,0x00,0x00,0x1C,0x00,0x00,
0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x00,
0x00,0x30,0x00,0x00,0x00,0x00,0x00,0x70,
0x00,0x00,0x00,0x03,0xC0,0x60,0xF0,0x00,
0x00,0x0F,0xE0,0x61,0xFC,0x00,0x00,0x1E,
0xF0,0xC7,0xFC,0x00,0x00,0xFE,0xF0,0xFF,
0x3C,0x00,0x00,0x7C,0xF1,0xFE,0x3C,0x00,
0x00,0x38,0xE3,0xFC,0x7C,0x00,0x00,0x00,
0xE3,0xF0,0x78,0x00,0x00,0x01,0xC3,0xE0,
0xE0,0x00,0x00,0x01,0xC3,0xE3,0xC0,0x00,
0x00,0xFF,0xC3,0xE6,0x00,0x00,0x07,0xFF,
0xC2,0xE0,0x00,0x00,0x00,0x7F,0x80,0xE0,
0x00,0x00,0x00,0x1F,0x80,0xC0,0x00,0x00,
0x00,0x0F,0xC0,0xC0,0x00,0x00,0x00,0x1F,
0xC0,0xC0,0x00,0x00,0x00,0x3F,0xC1,0xCE,
0x00,0x00,0x00,0x78,0xE1,0xC7,0xC0,0x00,
0x00,0xF0,0xE3,0x81,0xF8,0x00,0x07,0xE0,
0x27,0x80,0xFE,0x00,0x07,0xC0,0x07,0x00,
0x7F,0x00,0x03,0x00,0x1E,0x00,0x1F,0x00,
0x00,0x00,0x3C,0x00,0x07,0x80,0x00,0x00,
0x70,0x00,0x03,0x80,0x00,0x00,0x00,0x00,
0x00,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,
};
char ying[]={
/* 以下是 '迎' 的 48点阵华文行楷 字模,288 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,
0x00,0x00,0x00,0x00,0x03,0x80,0x00,0x00,
0x00,0x00,0x07,0xC0,0x00,0x00,0x00,0x00,
0x0F,0xC0,0x00,0x00,0x02,0x00,0x0F,0x80,
0x00,0x00,0x01,0xC0,0x1F,0x19,0xF0,0x00,
0x01,0xE0,0xFE,0x3F,0xF8,0x00,0x00,0xF3,
0xF8,0x1F,0x1C,0x00,0x01,0xE1,0xF0,0x1E,
0x1C,0x00,0x01,0x01,0xF0,0x1E,0x1C,0x00,
0x00,0x00,0x78,0x3C,0x1C,0x00,0x00,0x00,
0x38,0x7C,0x1C,0x00,0x00,0x00,0x38,0xDC,
0x1C,0x00,0x00,0x00,0x39,0x8C,0x18,0x00,
0x0F,0xE0,0x3B,0x0C,0x38,0x00,0x0F,0xF0,
0x3F,0x0E,0x38,0x00,0x07,0xF8,0x3E,0x0F,
0xF8,0x00,0x00,0xF0,0x7E,0x0F,0xF0,0x00,
0x00,0xE0,0x7E,0x0D,0xF0,0x00,0x00,0xE0,
0x3C,0x0C,0xF0,0x00,0x00,0x60,0x3C,0x0C,
0x60,0x00,0x00,0x70,0x08,0x0C,0x00,0x00,
0x00,0x30,0x00,0x0C,0x00,0x00,0x00,0x08,
0x00,0x0C,0x00,0x00,0x00,0x0C,0x00,0x1C,
0x00,0x00,0x00,0x0C,0x00,0x1C,0x00,0x00,
0x00,0x1C,0x00,0x0C,0x00,0x00,0x03,0xFF,
0xF8,0x0C,0x00,0x00,0x01,0xFF,0xFF,0xFF,
0xFF,0xE0,0x01,0xF0,0x1F,0xFF,0xFF,0xE0,
0x00,0x80,0x01,0xFF,0xFF,0x80,0x00,0x00,
0x00,0x1F,0xFC,0x00,0x00,0x00,0x00,0x01,
0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
char shi[]={
/* 以下是 '使' 的 48点阵华文行楷 字模,288 byte */
0x00,0x00,0x00,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,0x1C,0x00,0x00,0x00,0x00,0x00,0x1E,
0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,
0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00,
0x80,0x06,0x00,0x00,0x00,0x00,0xC0,0x07,
0xE0,0x00,0x00,0x00,0xE0,0x0F,0xF0,0x00,
0x00,0x00,0xF0,0x7F,0xE0,0x00,0x00,0x01,
0xF3,0xFF,0x80,0x00,0x00,0x03,0xF1,0xFE,
0x00,0x00,0x00,0x03,0xF0,0x7E,0x00,0x00,
0x00,0x07,0xC0,0x6E,0x00,0x00,0x00,0x0F,
0xC0,0x8F,0xF0,0x00,0x00,0x0F,0x80,0x0F,
0xF8,0x00,0x00,0x1F,0x00,0x1F,0x78,0x00,
0x00,0x3E,0x00,0x7E,0x78,0x00,0x00,0x7C,
0x08,0xFC,0x78,0x00,0x00,0xFC,0x09,0xDD,
0xF0,0x00,0x00,0xFE,0x0F,0x1D,0xC0,0x00,
0x00,0xFE,0x0E,0x1F,0xC0,0x00,0x00,0x4E,
0x0C,0x3F,0xC0,0x00,0x00,0x0F,0x0C,0xFE,
0x00,0x00,0x00,0x0F,0x0F,0xFC,0x00,0x00,
0x00,0x0E,0x07,0xF8,0x00,0x00,0x00,0x0F,
0xF0,0x38,0x00,0x00,0x00,0x0E,0x1C,0x38,
0x00,0x00,0x00,0x0E,0x07,0x38,0x00,0x00,
0x00,0x0E,0x01,0xF8,0x00,0x00,0x00,0x1C,
0x00,0xF0,0x00,0x00,0x00,0x1C,0x00,0x70,
0x00,0x00,0x00,0x1C,0x00,0xFC,0x00,0x00,
0x00,0x1C,0x01,0xFF,0x00,0x00,0x00,0x1C,
0x3F,0xCF,0xE0,0x00,0x00,0x1C,0x1F,0x87,
0xFC,0x00,0x00,0x1C,0x06,0x03,0xFF,0x00,
0x00,0x08,0x00,0x01,0xFF,0xE0,0x00,0x00,
0x00,0x00,0x7F,0xF0,0x00,0x00,0x00,0x00,
0x3F,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,
};
char yong[]={
/* 以下是 '用' 的 48点阵华文行楷 字模,288 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x0C,0x00,0x00,
0x00,0x00,0x01,0xFF,0x00,0x00,0x00,0x00,
0x0F,0xFF,0xC0,0x00,0x00,0x00,0x3F,0x01,
0xE0,0x00,0x00,0x00,0xFE,0x01,0xE0,0x00,
0x00,0x0E,0xF7,0x01,0xE0,0x00,0x00,0x0E,
0x03,0x01,0xE0,0x00,0x00,0x0F,0x03,0x81,
0xE0,0x00,0x00,0x0F,0x03,0x81,0xE0,0x00,
0x00,0x0E,0x03,0xE1,0xE0,0x00,0x00,0x0E,
0x03,0xF1,0xE0,0x00,0x00,0x0E,0x0F,0xF9,
0xC0,0x00,0x00,0x0E,0x7F,0xF9,0xC0,0x00,
0x00,0x0E,0x7F,0x81,0xC0,0x00,0x00,0x0E,
0x3F,0x81,0xC0,0x00,0x00,0x0E,0x0F,0x81,
0xC0,0x00,0x00,0x0C,0x07,0x81,0xC0,0x00,
0x00,0x0C,0x0F,0x81,0xC0,0x00,0x00,0x0C,
0x0F,0xF0,0xC0,0x00,0x00,0x0C,0x1F,0xF8,
0xC0,0x00,0x00,0x0C,0x3F,0xFC,0xC0,0x00,
0x00,0x0C,0x7F,0xC0,0xC0,0x00,0x00,0x0C,
0xFF,0x80,0xC0,0x00,0x00,0x0C,0x7F,0x80,
0xC0,0x00,0x00,0x0C,0x07,0x00,0xE0,0x00,
0x00,0x0C,0x07,0x00,0xE0,0x00,0x00,0x0C,
0x07,0x00,0xE0,0x00,0x00,0x0C,0x07,0x00,
0xE0,0x00,0x00,0x18,0x03,0x00,0xE0,0x00,
0x00,0x18,0x03,0x80,0xE0,0x00,0x00,0x18,
0x03,0x60,0xE0,0x00,0x00,0x10,0x03,0x3F,
0xE0,0x00,0x00,0x20,0x03,0x0F,0xE0,0x00,
0x00,0x00,0x02,0x07,0xF0,0x00,0x00,0x00,
0x00,0x03,0xE0,0x00,0x00,0x00,0x00,0x01,
0xE0,0x00,0x00,0x00,0x00,0x00,0xE0,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,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
char hanga[]={
/* 以下是 '航' 的 48点阵华文行楷 字模,288 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,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,0x04,0x00,0x0F,
0xC0,0x00,0x00,0x07,0x00,0x07,0xE0,0x00,
0x00,0x03,0x80,0x03,0xE0,0x00,0x00,0x03,
0x80,0x03,0xE0,0x00,0x00,0x03,0x80,0x03,
0x00,0x00,0x00,0x07,0x00,0x04,0x00,0x00,
0x00,0x0C,0x40,0x00,0x00,0x00,0x00,0x18,
0xE0,0x00,0x10,0x00,0x00,0x11,0xF0,0x00,
0x7C,0x00,0x00,0x12,0x38,0x01,0xFC,0x00,
0x00,0x30,0x38,0x0F,0xFC,0x00,0x00,0x20,
0x38,0xFE,0x00,0x00,0x00,0x3E,0x3F,0xF8,
0x00,0x00,0x00,0x3F,0x3B,0xF0,0x00,0x00,
0x00,0x23,0x38,0xC0,0xC0,0x00,0x00,0x23,
0x38,0x81,0xF0,0x00,0x00,0x23,0x38,0x83,
0xF8,0x00,0x00,0x23,0xF8,0x87,0xF0,0x00,
0x00,0x23,0xF8,0xDC,0xE0,0x00,0x00,0x6F,
0xB8,0xF8,0xE0,0x00,0x00,0x7F,0x38,0x70,
0xE0,0x00,0x01,0xFB,0x38,0x70,0xC0,0x00,
0x3F,0xE3,0x38,0x70,0xC0,0x00,0x3F,0xE3,
0x38,0x71,0xC0,0x00,0x3F,0x62,0x38,0xE1,
0x80,0x00,0x3C,0x66,0x38,0xE1,0x80,0x40,
0x20,0x66,0x39,0xE1,0x80,0x00,0x00,0x67,
0x39,0xC1,0x80,0x20,0x00,0x63,0xB9,0xC3,
0x80,0x30,0x00,0x20,0xF9,0x83,0x80,0x38,
0x00,0x20,0xF1,0x01,0x80,0x38,0x00,0x20,
0x70,0x01,0xE0,0xFC,0x00,0x00,0x70,0x00,
0xFF,0xF8,0x00,0x00,0x20,0x00,0x7F,0xE0,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
char kong[]={
/* 以下是 '空' 的 48点阵华文行楷 字模,288 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,
0x00,0x00,0x00,0x00,0x1E,0x00,0x00,0x00,
0x00,0x00,0x0F,0x00,0x00,0x00,0x00,0x00,
0x07,0x80,0x00,0x00,0x00,0x00,0x03,0x80,
0x00,0x00,0x00,0x00,0x03,0xC0,0x38,0x00,
0x00,0x20,0x03,0xFF,0xFC,0x00,0x00,0x10,
0x3F,0xC0,0x0E,0x00,0x00,0x13,0xFC,0x00,
0x1F,0x00,0x00,0x3C,0xE0,0x00,0x3F,0x80,
0x00,0x38,0x00,0x60,0x7F,0x80,0x00,0x78,
0x00,0x7B,0xFF,0x00,0x00,0x70,0x40,0x3D,
0xF8,0x00,0x00,0xF0,0x70,0x3C,0x00,0x00,
0x01,0xE0,0x30,0x38,0x00,0x00,0x01,0xE0,
0x38,0x38,0x00,0x00,0x01,0xE0,0x3C,0x38,
0x00,0x00,0x01,0xC0,0x78,0x3F,0x00,0x00,
0x01,0xC0,0xF0,0x3F,0x00,0x00,0x00,0x03,
0xE0,0x1F,0x80,0x00,0x00,0x03,0xC0,0x1F,
0x00,0x00,0x00,0x03,0x80,0x38,0x00,0x00,
0x00,0x07,0x00,0x60,0x00,0x00,0x00,0x00,
0x00,0x80,0x00,0x00,0x00,0x00,0x02,0x00,
0x00,0x00,0x00,0x00,0x08,0x30,0x00,0x00,
0x00,0x00,0x00,0xFC,0x00,0x00,0x00,0x00,
0x7F,0xFC,0x00,0x00,0x00,0x00,0x7F,0xFC,
0x00,0x00,0x00,0x00,0x7E,0xF8,0x00,0x00,
0x00,0x00,0x11,0xF0,0x00,0x00,0x00,0x00,
0x01,0xE0,0x00,0x00,0x00,0x00,0x03,0xC0,
0x00,0x00,0x00,0x00,0x07,0x80,0x00,0x00,
0x00,0x00,0x0F,0xFF,0xF0,0x00,0x00,0x00,
0xFF,0xFF,0xF8,0x00,0x00,0x1F,0xFF,0xC7,
0xFC,0x00,0x00,0x1F,0xF0,0x00,0x3C,0x00,
0x00,0x1F,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
char xi[]={
/* 以下是 '系' 的 48点阵华文行楷 字模,288 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC0,
0x00,0x00,0x00,0x00,0x00,0xF8,0x00,0x00,
0x00,0x00,0x01,0xFC,0x00,0x00,0x00,0x00,
0x01,0xFC,0x00,0x00,0x00,0x00,0x03,0xFC,
0x00,0x00,0x00,0x00,0x07,0xF0,0x00,0x00,
0x00,0x00,0x0F,0xC0,0x00,0x00,0x00,0x00,
0x3F,0x80,0x00,0x00,0x00,0x00,0x7E,0x20,
0x00,0x00,0x00,0x00,0xFC,0x78,0x00,0x00,
0x00,0x01,0xF8,0xF8,0x00,0x00,0x00,0x07,
0xE1,0xF0,0x00,0x00,0x00,0x1F,0xC3,0xC0,
0x00,0x00,0x00,0x1F,0x07,0x83,0x00,0x00,
0x00,0x1C,0x1F,0x0F,0x80,0x00,0x00,0x00,
0x3E,0x1F,0x80,0x00,0x00,0x00,0xFC,0x3E,
0x00,0x00,0x00,0x03,0xFE,0x78,0x00,0x00,
0x00,0x07,0xFF,0xF0,0x00,0x00,0x00,0x07,
0xFF,0xE0,0x00,0x00,0x00,0x07,0xC7,0xC0,
0x00,0x00,0x00,0x03,0x07,0x03,0x00,0x00,
0x00,0x00,0x0E,0x03,0xC0,0x00,0x00,0x00,
0x1E,0x7F,0xC0,0x00,0x00,0x00,0x3F,0xFF,
0xE0,0x00,0x00,0x01,0xFF,0xE0,0xE0,0x00,
0x00,0x07,0xFF,0xE0,0x00,0x00,0x00,0x03,
0xF9,0xE0,0x00,0x00,0x00,0x03,0xE0,0xE0,
0x00,0x00,0x00,0x01,0x80,0xE0,0x00,0x00,
0x00,0x00,0x00,0xE0,0x00,0x00,0x00,0x00,
0x00,0xE0,0x40,0x00,0x00,0x00,0x00,0xE0,
0x30,0x00,0x00,0x00,0x00,0xE0,0x38,0x00,
0x00,0x08,0xE0,0xE0,0x3C,0x00,0x00,0x0F,
0xC0,0xE0,0xF8,0x00,0x00,0x0F,0xA0,0xE0,
0x78,0x00,0x00,0x0E,0x1F,0xE0,0x30,0x00,
0x00,0x0C,0x07,0xE0,0x00,0x00,0x00,0x0C,
0x01,0xE0,0x00,0x00,0x00,0x00,0x00,0xC0,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
25 楼
liyu355 [专家分:980] 发布于 2005-06-07 00:42:00
char tong[]={
/* 以下是 '统' 的 48点阵华文行楷 字模,288 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0xF0,0x00,0x00,0x00,0x00,
0x00,0x7C,0x00,0x00,0x00,0x00,0x00,0x3F,
0x00,0x00,0x00,0x00,0x00,0x0F,0x00,0x00,
0x00,0x01,0x00,0x03,0x00,0x00,0x00,0x01,
0xC0,0x01,0x00,0x00,0x00,0x03,0xE0,0x01,
0xC0,0x00,0x00,0x07,0xE0,0x07,0xE0,0x00,
0x00,0x07,0xC0,0x1F,0xC0,0x00,0x00,0x0F,
0x80,0x7F,0x80,0x00,0x00,0x3F,0x0F,0xFF,
0x00,0x00,0x00,0x7C,0x07,0xFE,0x00,0x00,
0x01,0xF8,0x07,0xFC,0x00,0x00,0x03,0xF8,
0x01,0x38,0xF0,0x00,0x03,0xFC,0x00,0x71,
0xF0,0x00,0x03,0xFE,0x00,0x63,0xE0,0x00,
0x03,0x9E,0x00,0xE7,0xC0,0x00,0x00,0x1E,
0x01,0xFF,0x80,0x00,0x00,0x1C,0x03,0xFF,
0x00,0x00,0x00,0x3C,0x0F,0xFE,0x00,0x00,
0x00,0x38,0x0F,0xFF,0x00,0x00,0x01,0xF8,
0x8F,0x7F,0x80,0x00,0x01,0xF8,0x06,0x73,
0x00,0x00,0x01,0xFC,0x00,0x63,0x00,0x00,
0x01,0xDF,0x00,0xC6,0x00,0x00,0x01,0x0F,
0x01,0x86,0x00,0x00,0x00,0x0E,0x03,0x84,
0x00,0x00,0x00,0x0E,0x07,0x0C,0x00,0x00,
0x00,0x1E,0x0E,0x08,0x00,0x10,0x00,0x1C,
0x1C,0x18,0x00,0x10,0x00,0x1C,0x38,0x18,
0x00,0x30,0x00,0x38,0x30,0x38,0x00,0x70,
0x00,0x78,0x20,0x38,0x00,0x70,0x00,0x78,
0x00,0x1F,0xFF,0xF0,0x00,0x70,0x00,0x0F,
0xFF,0xC0,0x00,0x70,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,
};
char xielast[]={
/* 以下是 '旅' 的 32点阵楷体_GB2312 字模,128 byte */
/* 以下是 '旅' 的 32点阵华文中宋 字模,128 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,
0x00,0x80,0x30,0x00,0x00,0xC0,0x20,0x00,
0x00,0xC0,0x60,0x20,0x00,0x40,0x40,0x30,
0x00,0x00,0x7F,0xF8,0x00,0x0C,0x00,0x00,
0x1F,0xFE,0x80,0x00,0x03,0x00,0x00,0x00,
0x03,0x00,0x01,0xC0,0x03,0x00,0x07,0x00,
0x02,0x00,0xE0,0x00,0x03,0xF8,0xC0,0x00,
0x02,0x18,0xC0,0x00,0x02,0x18,0xC0,0x30,
0x02,0x18,0xC4,0x60,0x02,0x18,0xC4,0x80,
0x02,0x18,0xC6,0x00,0x02,0x18,0xC2,0x00,
0x02,0x18,0xC2,0x00,0x02,0x18,0xC3,0x00,
0x00,0x18,0xC1,0x00,0x04,0x18,0xC1,0x80,
0x04,0x10,0xC0,0xC0,0x00,0x10,0xC0,0xF0,
0x08,0xB0,0xE0,0x7C,0x00,0x70,0xC0,0x20,
};
char tulast[]={
/* 以下是 '途' 的 32点阵华文中宋 字模,128 byte */
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,0x38,0x00,0x06,0x00,0x30,0x00,
0x03,0x00,0x64,0x00,0x01,0x80,0x42,0x00,
0x01,0x80,0xC3,0x00,0x01,0x00,0x81,0x80,
0x00,0x01,0x00,0xE0,0x00,0x02,0x00,0x78,
0x00,0x04,0x01,0x18,0x00,0x09,0xFF,0x80,
0x00,0x00,0x18,0x00,0x7E,0x00,0x18,0x00,
0x06,0x00,0x18,0x60,0x06,0x0F,0xFF,0xF0,
0x06,0x00,0x18,0x00,0x06,0x00,0x18,0x00,
0x06,0x07,0x18,0x00,0x06,0x04,0x18,0x80,
0x06,0x0C,0x18,0x60,0x06,0x08,0x18,0x60,
0x06,0x10,0x18,0x20,0x06,0x00,0x38,0x20,
0x06,0x00,0x30,0x00,0x08,0x00,0x00,0x00,
0x10,0xC0,0x00,0x00,0x30,0x3F,0xFF,0xF0,
};
char guanlast[]={
/* 以下是 '愉' 的 32点阵华文中宋 字模,128 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x02,0x00,0x18,0x00,
0x03,0x00,0x30,0x00,0x03,0x00,0x30,0x00,
0x03,0x00,0x62,0x00,0x03,0x00,0x41,0x00,
0x03,0x00,0xC0,0x80,0x03,0x40,0x80,0xC0,
0x03,0x21,0x02,0x70,0x03,0x22,0xFF,0x3C,
0x03,0x04,0x00,0x08,0x03,0x08,0x00,0x00,
0x13,0x00,0x20,0x20,0x13,0x0F,0xF2,0x30,
0x33,0x0C,0x33,0x30,0x23,0x0C,0x33,0x30,
0x03,0x0C,0x33,0x30,0x03,0x0F,0xF3,0x30,
0x03,0x0C,0x33,0x30,0x03,0x0C,0x33,0x30,
0x03,0x0C,0x33,0x30,0x03,0x0F,0xF3,0x30,
0x03,0x0C,0x33,0x30,0x03,0x0C,0x33,0x30,
0x03,0x0C,0x30,0x30,0x03,0x0C,0x30,0x30,
0x03,0x0C,0x30,0x30,0x03,0x0C,0x30,0xF0,
};
char shanglast[]={
/* 以下是 '快' 的 32点阵华文中宋 字模,128 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x02,0x00,0x60,0x00,
0x03,0x00,0x70,0x00,0x03,0x00,0x70,0x00,
0x03,0x00,0x70,0x00,0x03,0x00,0x70,0x00,
0x03,0x00,0x70,0x40,0x03,0x07,0xFF,0xF0,
0x03,0x40,0x70,0xE0,0x03,0x30,0x70,0xE0,
0x0B,0x30,0x60,0xE0,0x0B,0x10,0x60,0xE0,
0x0B,0x00,0x60,0xE0,0x1B,0x00,0x60,0xE0,
0x3B,0x00,0x60,0xE0,0x33,0x00,0x60,0xEC,
0x03,0x3F,0xFF,0xFE,0x03,0x00,0x60,0x00,
0x03,0x00,0x60,0x00,0x03,0x00,0x40,0x00,
0x03,0x00,0xC4,0x00,0x03,0x00,0xC0,0x00,
0x03,0x00,0x82,0x00,0x03,0x01,0x83,0x00,
0x03,0x01,0x01,0x80,0x03,0x02,0x00,0xC0,
0x03,0x04,0x00,0xF0,0x03,0x08,0x00,0x70,
};
char zhonga[]={
/* 以下是 '终' 的 16点阵宋体 字模,32 byte */
0x10,0x80,0x10,0x80,0x20,0xFC,0x29,0x08,
0x49,0x88,0xF2,0x50,0x10,0x20,0x20,0x50,
0x40,0x88,0xFB,0x46,0x00,0x30,0x00,0x10,
0x18,0x40,0xE0,0x30,0x00,0x18,0x00,0x08,};
char diana[]={
/* 以下是 '点' 的 16点阵宋体 字模,32 byte */
0x01,0x00,0x01,0x00,0x01,0xF8,0x01,0x00,
0x01,0x10,0x1F,0xF8,0x10,0x10,0x10,0x10,
0x10,0x10,0x1F,0xF0,0x10,0x10,0x01,0x10,
0x28,0x88,0x24,0x44,0x44,0x44,0x00,0x00,};
char zhana[]={
/* 以下是 '站' 的 16点阵宋体 字模,32 byte */
0x00,0x20,0x20,0x20,0x10,0x20,0x10,0x20,
0xFE,0x3E,0x04,0x20,0x44,0x20,0x24,0x20,
0x29,0xFC,0x29,0x04,0x11,0x04,0x3D,0x04,
0xC1,0x04,0x01,0xFC,0x01,0x04,0x00,0x00,};
char bana[]={
/* 以下是 '班' 的 16点阵宋体 字模,32 byte */
0x01,0x00,0xF9,0x7E,0x21,0x10,0x21,0x10,
0x21,0x10,0x25,0x10,0xFD,0x7E,0x25,0x10,
0x29,0x10,0x21,0x10,0x21,0x10,0x3A,0x10,
0xC2,0x10,0x04,0xFE,0x08,0x00,0x10,0x00,
};
char cia[]={
/* 以下是 '次' 的 16点阵宋体 字模,32 byte */
0x01,0x00,0x41,0x00,0x25,0x00,0x25,0xFE,
0x2A,0x44,0x0A,0x48,0x14,0x40,0x10,0x40,
0x20,0xC0,0xE0,0xA0,0x41,0x20,0x42,0x10,
0x44,0x08,0x18,0x0E,0x60,0x04,0x00,0x00,
};
char jia[]={
/* 以下是 '机' 的 16点阵宋体 字模,32 byte */
0x10,0x00,0x10,0xF8,0x10,0x88,0xFE,0x88,
0x10,0x88,0x10,0x88,0x38,0x88,0x34,0x88,
0x54,0x88,0x50,0x88,0x91,0x08,0x11,0x0A,
0x12,0x0A,0x12,0x0A,0x14,0x06,0x10,0x00,
};
char haoa[]={
/* 以下是 '号' 的 16点阵宋体 字模,32 byte */
0x1F,0xF0,0x10,0x10,0x10,0x10,0x10,0x10,
0x1F,0xF0,0x00,0x00,0xFF,0xFE,0x08,0x00,
0x08,0x00,0x1F,0xF0,0x08,0x10,0x00,0x10,
0x00,0x10,0x01,0x10,0x00,0xA0,0x00,0x40,};
char shia[]={
/* 以下是 '时' 的 16点阵宋体 字模,32 byte */
0x00,0x10,0x00,0x10,0x7C,0x10,0x44,0x10,
0x47,0xFE,0x44,0x10,0x7C,0x10,0x45,0x10,
0x44,0x90,0x44,0x90,0x7C,0x10,0x00,0x10,
0x00,0x10,0x00,0x10,0x00,0x50,0x00,0x20,
};
char kea[]={
/* 以下是 '刻' 的 16点阵宋体 字模,32 byte */
0x08,0x04,0x06,0x04,0x04,0x04,0x7F,0xA4,
0x10,0x24,0x22,0x24,0x7F,0x24,0x26,0x24,
0x0C,0xA4,0x19,0xE4,0x33,0x24,0xC6,0x04,
0x09,0x04,0x31,0x84,0xC1,0x14,0x00,0x08,
};
char dinga[]={
/* 以下是 '订' 的 16点阵宋体 字模,32 byte */
0x40,0x00,0x20,0x00,0x13,0xFE,0x00,0x10,
0x00,0x10,0xF0,0x10,0x10,0x10,0x10,0x10,
0x10,0x10,0x10,0x10,0x10,0x10,0x12,0x10,
0x14,0x10,0x18,0x50,0x10,0x20,0x00,0x00,};
char ea[]={
/* 以下是 '额' 的 16点阵宋体 字模,32 byte */
0x10,0x00,0x08,0xFE,0x7F,0x90,0x51,0x20,
0x1E,0xFE,0x22,0x82,0x54,0x82,0x0C,0x92,
0x12,0x92,0x3E,0x92,0xE2,0x92,0x22,0xAA,
0x22,0x24,0x3E,0x42,0x21,0x82,0x00,0x00,};
char yua[]={
/* 以下是 '余' 的 16点阵宋体 字模,32 byte */
0x01,0x00,0x01,0x00,0x02,0x80,0x04,0x60,
0x08,0x10,0x3F,0xFE,0xC1,0x04,0x01,0x00,
0x3F,0xFC,0x01,0x00,0x11,0x40,0x19,0x30,
0x11,0x18,0x21,0x10,0x45,0x00,0x02,0x00,
};
char piaoa[]={
/* 以下是 '票' 的 16点阵宋体 字模,32 byte */
0x7F,0xFE,0x02,0x40,0x3F,0xFC,0x22,0x44,
0x22,0x44,0x3F,0xFC,0x00,0x00,0x1F,0xF8,
0x00,0x00,0x00,0x00,0xFF,0xFE,0x01,0x00,
0x11,0x10,0x21,0x08,0x45,0x04,0x02,0x00,
};
char rena[]={
/* 以下是 '人' 的 16点阵宋体 字模,32 byte */
0x01,0x00,0x01,0x80,0x01,0x00,0x01,0x00,
0x01,0x00,0x01,0x00,0x02,0x80,0x02,0x80,
0x04,0x80,0x04,0x40,0x08,0x60,0x08,0x30,
0x10,0x18,0x20,0x0E,0x40,0x04,0x00,0x00,
};
char minga[]={
/* 以下是 '名' 的 16点阵宋体 字模,32 byte */
0x04,0x00,0x04,0x00,0x07,0xF8,0x08,0x10,
0x10,0x20,0x24,0x40,0x42,0x80,0x01,0x00,
0x06,0x00,0x1F,0xF8,0xE8,0x08,0x08,0x08,
0x08,0x08,0x0F,0xF8,0x08,0x08,0x00,0x00,
};
char dana[]={
/* 以下是 '单' 的 16点阵宋体 字模,32 byte */
0x08,0x20,0x06,0x30,0x04,0x40,0x3F,0xF8,
0x21,0x08,0x3F,0xF8,0x21,0x08,0x21,0x08,
0x3F,0xF8,0x21,0x08,0x01,0x00,0xFF,0xFE,
0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,
};
char denga[]={
/* 以下是 '等' 的 16点阵宋体 字模,32 byte */
0x20,0x80,0x3E,0xFC,0x28,0xA0,0x45,0x10,
0x85,0x10,0x3F,0xF8,0x01,0x00,0xFF,0xFE,
0x00,0x20,0x00,0x20,0x7F,0xFC,0x04,0x20,
0x02,0x20,0x02,0x20,0x00,0xA0,0x00,0x40,};
char jiaa[]={
/* 以下是 '级' 的 16点阵宋体 字模,32 byte */
0x10,0x00,0x13,0xF8,0x20,0x88,0x24,0x88,
0x44,0x90,0xF8,0x90,0x10,0xBE,0x21,0x44,
0x7D,0x44,0x41,0x48,0x02,0x28,0x1A,0x10,
0xE4,0x30,0x08,0x48,0x11,0x8E,0x06,0x04,
};
char xinga[]={
/* 以下是 '姓' 的 16点阵宋体 字模,32 byte */
0x20,0x20,0x30,0x20,0x21,0x20,0x21,0x20,
0xFD,0xFE,0x25,0x20,0x26,0x20,0x44,0x20,
0x48,0x20,0x29,0xFC,0x10,0x20,0x28,0x20,
0x24,0x20,0x44,0x20,0x83,0xFE,0x00,0x00,
};
char shua[]={
/* 以下是 '数' 的 16点阵宋体 字模,32 byte */
0x08,0x20,0x49,0x30,0x2A,0x20,0x1C,0x20,
0xFF,0x7E,0x1C,0x44,0x2B,0x44,0x48,0xC4,
0x08,0x28,0xFF,0x28,0x12,0x10,0x34,0x10,
0x0C,0x28,0x32,0x4E,0xC0,0x84,0x00,0x00,
};
char mua[]={
/* 以下是 '目' 的 16点阵宋体 字模,32 byte */
0x00,0x00,0x1F,0xF8,0x10,0x08,0x10,0x08,
0x10,0x08,0x1F,0xF8,0x10,0x08,0x10,0x08,
0x10,0x08,0x1F,0xF8,0x10,0x08,0x10,0x08,
0x10,0x08,0x1F,0xF8,0x10,0x08,0x00,0x00,};
char daia[]={
/* 以下是 '待' 的 16点阵宋体 字模,32 byte */
0x10,0x40,0x18,0x40,0x13,0xFC,0x28,0x40,
0x4C,0x40,0x88,0x40,0x17,0xFE,0x10,0x10,
0x30,0x10,0x57,0xFE,0x10,0x10,0x11,0x10,
0x11,0x10,0x10,0x10,0x10,0x50,0x10,0x20,
};
char hangaa[]={
/* 以下是 '航' 的 16点阵宋体 字模,32 byte */
0x08,0x40,0x10,0x20,0x3C,0x00,0x25,0xFC,
0x34,0x00,0x2C,0xF0,0x24,0x90,0xFC,0x90,
0x24,0x90,0x34,0x90,0x2C,0x90,0x24,0x90,
0x24,0x92,0x45,0x12,0x55,0x0E,0x8A,0x00,
};
char tuia[]={
/* 以下是 '退' 的 16点阵宋体 字模,32 byte */
0x40,0x00,0x27,0xF0,0x24,0x10,0x07,0xF0,
0x04,0x10,0x04,0x10,0xE7,0xF0,0x24,0x88,
0x24,0x50,0x24,0x20,0x25,0x10,0x26,0x18,
0x24,0x08,0x50,0x00,0x8F,0xFE,0x00,0x00,
};
char dea[]={
/* 以下是 '的' 的 16点阵宋体 字模,32 byte */
0x10,0x80,0x10,0x80,0x20,0x80,0x7C,0xFC,
0x45,0x04,0x45,0x04,0x46,0x04,0x7C,0x84,
0x44,0x44,0x44,0x64,0x44,0x24,0x44,0x04,
0x7C,0x04,0x44,0x28,0x40,0x10,0x00,0x00,
};
char zuoa[]={
/* 以下是 '座' 的 16点阵宋体 字模,32 byte */
0x02,0x00,0x01,0x80,0x3F,0xFE,0x21,0x40,
0x26,0x90,0x24,0x88,0x24,0x90,0x2A,0x88,
0x12,0xA4,0x20,0xC0,0x4F,0xFC,0x40,0x80,
0x40,0x80,0x80,0x80,0xBF,0xFE,0x00,0x00,
};
char weia[]={
/* 以下是 '位' 的 16点阵宋体 字模,32 byte */
0x09,0x00,0x0C,0xC0,0x10,0x40,0x17,0xFC,
0x20,0x00,0x34,0x10,0x52,0x18,0x52,0x10,
0x91,0x10,0x11,0x20,0x11,0x20,0x10,0x20,
0x10,0x40,0x1F,0xFE,0x10,0x00,0x00,0x00,
};
char wumain[]={
/* 以下是 'E' 的 24点阵隶书 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,
0xFF,0x80,0x03,0xFF,0x80,0x01,0x80,0x80,
0x01,0x80,0x40,0x01,0x80,0x00,0x01,0x80,
0x00,0x01,0x81,0x00,0x01,0x83,0x00,0x01,
0xFF,0x00,0x01,0x81,0x00,0x01,0x80,0x00,
0x01,0x80,0x00,0x01,0x80,0x20,0x01,0x80,
0x40,0x01,0xC0,0x40,0x03,0xFF,0xC0,0x0F,
0xFF,0x80,0x00,0x00,0x00,0x00,0x00,0x00,
};
char chumain[]={
/* 以下是 '出' 的 24点阵隶书 字模,72 byte */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x08,0x00,0x00,0x1C,0x00,
0x06,0x1C,0x20,0x06,0x1C,0x30,0x06,0x1C,
0x30,0x06,0x1C,0x30,0x07,0xFF,0xF0,0x00,
0x1C,0x00,0x08,0x1C,0x08,0x18,0x1C,0x08,
0x18,0x1C,0x08,0x18,0x3C,0x08,0x1F,0xFF,
0xFC,0x18,0x00,0x1C,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
void page()
{ setfillstyle(1,0);
bar(30,0,600,30);
setfillstyle(1,8);
bar(30,0,600,470);
drawmat(zhonga,16,60,10,RED);
drawmat(diana,16,80,10,RED);
drawmat(zhana,16,100,10,RED);
drawmat(bana,16,160,10,RED);
drawmat(cia,16,180,10,RED);
drawmat(jia,16,260,10,RED);
drawmat(haoa,16,280,10,RED);
drawmat(shia,16,360,10,RED);
drawmat(kea,16,380,10,RED);
drawmat(dinga,16,460,10,RED);
drawmat(ea,16,480,10,RED);
drawmat(yua,16,560,10,RED);
drawmat(piaoa,16,580,10,RED);
draw();
}
26 楼
liyu355 [专家分:980] 发布于 2005-06-07 00:42:00
int draw( )
{
setcolor(9);
setlinestyle(0,0,3);
line(30,0,30,470);
line(600,0,600,470);
line(30,470,600,470);
line(30,0,600,0);
setcolor(15);
setlinestyle(0,0,1);
line(30,30,600,30);
line(600,30,600,470);
setcolor(9);
line(30,0,30,470);
line(30,470,600,470);
}
void findpage(int x,int y[])
{int i;
page();
for(i=0;i<=x;i++)
{ print(&hang[y[i]]);
setcolor(9);
setlinestyle(0,0,3);
line(30,0,30,470);
if(i%8==0&&i!=0)
{ getch();
cleardevice();
page();
gotoxy(1,1);
}
}
}
int print(hangban *s)
{
textcolor(2);
printf("\n\n\t%8s%9s\t%6s\t%8s\t%6d\t%10d\n",s->add,s->banci,s->feiji,s->da,s->dinge,s->yupiao);
}
char a[10]="0001";
void page2()
{
setfillstyle(1,0);
bar(30,0,600,30);
setfillstyle(1,8);
bar(30,0,600,470);
drawmat(piaoa,16,50,10,RED);
drawmat(rena,16,70,10,RED);
drawmat(xinga,16,90,10,RED);
drawmat(minga,16,110,10,RED);
drawmat(hangaa,16,220,10,RED);
drawmat(bana,16,240,10,RED);
drawmat(denga,16,390,10,RED);
drawmat(jiaa,16,410,10,RED);
drawmat(shua,16,560,10,RED);
drawmat(mua,16,580,10,RED);
draw();
}
void order(int i )
{int q,j,k=0,s;
for(j=0;j<=p;j++)
if(d[j]!=0)
{
if(k<have[haver].shumu)
have[haver].zuowei[k++]=d[j];
}
for(;k<have[haver].shumu;)
have[haver].zuowei[k++]=101-hang[i].yupiao+k;
hang[i].yupiao=hang[i].yupiao-have[haver++].shumu;
cleardevice();
gotoxy(1,1);
printf("the Place is:\n");
for(q=0;q<k;q++)
printf("%d\t",have[haver-1].zuowei[q]);
getch();
}
void tuipiao()
{char b[10];
int c,i,j,x,s,y[10];
cleardevice();
gotoxy(3,3);
drawmat(qinga,16,50,10,1);
drawmat(shuaa,16,100,10,1);
drawmat(rua,16,150,10,1);
drawmat(bana,16,200,10,1);
drawmat(cia,16,250,10,1);
scanf("%s",b);
x:
cleardevice();
gotoxy(3,3);
drawmat(tuia,16,20,10,RED);
drawmat(piaoa,16,50,10,RED);
drawmat(dea,16,80,10,RED);
drawmat(zuoa,16,110,10,RED);
drawmat(weia,16,140,10,RED);
scanf("%d", &c);
for(i=0;i<20;i++)
if(strcmp(hang[i].banci,b)==0)
{hang[i].yupiao++;
s=i;
for(j=0;j<100;j++)
if(have[i].zuowei[j]==c)
{have[i].zuowei[j]=0;
have[i].shumu--;
d[p]=c;
}
cleardevice();
gotoxy(1,1);
printf("if want to returned ticket again?\nyes or no:");
scanf("%s",&b[9]);
if(b[9]=='y')
{p++;
goto x;
}
else break;
}
for(i=0;i<=waiters;i++)
if(strcmp(waiter[i].hangban,b)==0)
{
if(waiter[i].shumu<=hang[i].yupiao)
{ cleardevice();
printwaiter(b);
getch();
cleardevice();
gotoxy(1,1);
printf("could you want to order the ticket?\nyes or no?:");
scanf("%s",b[0]);
if(b[0]=='y')
{waiter[i].shumu=0;
order(i);
}
}
}
x=0;
y[x]=s;
cleardevice();
gotoxy(1,1);
findpage(x,y);
getch();
}
void dingpiao()
{char b[10];
int d,cound,i,j,k,q,x,y[10];
cleardevice();
gotoxy(1,1);
printf("would you want to order the ticker?\nyes or no:\n");
scanf("%s",&d);
if(d=='y')
{cleardevice();
drawmat(qinga,16,50,10,4);
drawmat(shuaa,16,100,10,4);
drawmat(rua,16,150,10,4);
drawmat(bana,16,200,10,4);
drawmat(cia,16,250,10,4);
scanf("%s",b);
for(i=0;i<=19;i++)
if(strcmp(hang[i].banci,b)==0)
{cleardevice();
gotoxy(1,1);
x=0;y[x]=i;
findpage(x,y);
getch();
cleardevice();
gotoxy(1,1);
printhave(b);
getch();
cleardevice();
gotoxy(1,1);
printwaiter(b);
getch();
cleardevice();
gotoxy(1,1);
printf("please input your name:\n");
scanf("%s",&have[haver].name);
cleardevice();
gotoxy(1,1);
printf("how many?\n");
scanf("%d",&have[haver].shumu);
cleardevice();
gotoxy(1,1);
printf("please input the grade:\n");
scanf("%d",&have[haver].dengji);
for(q=0;q<10;q++)
have[haver].hangban[q]=hang[i].banci[q];
if(hang[i].yupiao>=have[haver].shumu)
order(i);
if(hang[i].yupiao<have[haver].shumu)
{cleardevice();
gotoxy(1,1);
printf("sorry,it is full!could you want to wait?\nyes or no?:\n");
scanf("%s",&d);
if(d=='y')
{ waiter[waiters++]=have[haver];
cleardevice();
}
else
break;
}
cleardevice();
gotoxy(1,1);
findpage(x,y);
getch();
break;
}
}
getch();
}
27 楼
liyu355 [专家分:980] 发布于 2005-06-07 00:43:00
int printhave(char hb[10])
{int i;
page2();
drawmat(dinga,16,30,10,RED);
for(i=0;i<=haver;i++)
{if(strcmp(have[i].hangban,hb)==0)
if(have[i].shumu!=0)
{ printf("\n\n\t%6s\t%16s\t%13d\t%16d\n",have[i].name,have[i].hangban,have[i].dengji,have[i].shumu);
setcolor(9);
setlinestyle(0,0,3);
line(30,0,30,470);
}
}
getch();
}
void printwaiter(char hb[10])
{int i;
page2();
drawmat(tuia,16,30,10,RED);
for(i=0;i<=waiters;i++)
{if(strcmp(waiter[i].hangban,hb)==0)
if(waiter[i].shumu==0)
{
printf("\n\n\t%6s\t%16s\t%13d\t%16d\n",waiter[i].name,waiter[i].hangban,waiter[i].dengji,waiter[i].shumu);
setcolor(9);
setlinestyle(0,0,3);
line(30,0,30,470);
}
}
}
void thelast()
{int gd=DETECT;
int gm,color;
void *pt_addr;
int x,y,maxx,maxy,midy,midx,i;
unsigned int size;
registerbgidriver(EGAVGA_driver);
registerbgifont(TRIPLEX_FONT);
initgraph(&gd,&gm,"");
maxx=getmaxx();
maxy=getmaxy();
midx=maxx/2;
x=0;
midy=y=maxy/2;
setcolor(YELLOW);
settextstyle(TRIPLEX_FONT,HORIZ_DIR,4);
settextjustify(CENTER_TEXT,CENTER_TEXT);
setbkcolor(BLACK);
setcolor(RED);
setlinestyle(SOLID_LINE,0,THICK_WIDTH);
ellipse(midx,midy,130,50,160,30);
setlinestyle(SOLID_LINE,0,NORM_WIDTH );
draw_image(x,y);
size=imagesize(x,y-10,x+(4*10),y+10);
pt_addr=malloc(size);
getimage(x,y-10,x+(4*10),y+10,pt_addr);
putstar( );
setcolor(WHITE);
setlinestyle(SOLID_LINE,0,NORM_WIDTH);
rectangle(0,0,maxx,maxy);
while(!kbhit())
{putstar();
setcolor(RED);
setlinestyle(SOLID_LINE,0,THICK_WIDTH);
ellipse(midx,midy,130,50,160,30);
setcolor(BLACK);
ellipse(midx,midy,130,50,160,30);
for(i=0;i<4;i++)
{ drawmat(xielast,32,midx,400,i+14);
delay(1000);
drawmat(tulast,32,midx+50,400,i+13);
delay(1000);
drawmat(guanlast,32,midx+100,400,i+14);
delay(1000);
drawmat(shanglast,32,midx+150,400,i+13);
delay(1000);
}
for(i=0;i<=13;i++)
{
setcolor(i%2==0?LIGHTBLUE:BLACK);
ellipse(midx,midy,0,360,100,100-8*i);
setcolor(LIGHTBLUE);
ellipse(midx,midy,0,360,100-8*i,100);
}
putimage(x,y-10,pt_addr,XOR_PUT);
x=x>=maxx?0:x+6;
putimage(x,y-10,pt_addr,XOR_PUT);
}
free(pt_addr);
closegraph();
exit(0);
}
void draw_image(int x,int y)
{
int arw[11];
arw[0]=x+10;arw[1]=y-10;arw[2]=x+34;arw[3]=y-6;
arw[4]=x+34;arw[5]=y+6;arw[6]=x+10;arw[7]=y+10;
arw[9]=x+10;arw[10]=y-10;
moveto(x+10,y-4);
setcolor(14);
setfillstyle(1,4);
linerel(-3*10,-2*8);
moveto(x+10,y+4);
linerel(-3*10,+2*8);
moveto(x+10,y);
linerel(-3*10,0);
setcolor(3);
setfillstyle(1,LIGHTBLUE);
fillpoly(4,arw);
}
void goto_xy(int x,int y)
{
union REGS r;
r.h.ah=2;
r.h.dl=y;
r.h.dh=x;
r.h.bh=0;
int86(0x10,&r,&r);
}
/************* clear rectangle side(矩形边清屏)***********************/
int recls(int x1,int x2,int y1,int y2)
{
int i,j;
for(i=y1;i<y2;i++){
goto_xy(x1,i);
putchar(' ');
goto_xy(x2,i);
putchar(' ');
delay(100);
}
for(j=x1;j<x2;j++){
goto_xy(i,y1);
putchar(' ');
goto_xy(j,y2);
putchar(' ');
delay(100);
}
}
/******************open screen clear(开屏式清屏)*********************/
void kcls(int x1,int x2,int y1,int y2)
{
int t,s,i,j;
t=s=(y1+y2)/2;
for(;t<=y2;t++,s--)
for(j=x1;j<x2;j++){
goto_xy(j,t);
putchar(' ');
goto_xy(j,s);
putchar(' ');
delay(100);
}
}
/*****************close screen clear*****闭幕式清屏*******************/
void bcls(int x1,int x2,int y1,int y2)
{
int t,s,j;
t=y1;
s=y2;
for(t=y1;t<(y1+y2)/2;t++,s--)
for(j=x1;j<x2;j++){
goto_xy(j,t);
putchar(' ');
goto_xy(j,s);
putchar(' ');
delay(100);
}
}
/******************bottom screen clear(自下清屏)********************/
void dcls(int x1,int x2,int y1,int y2)
{
int t,s,j,i;
t=s=(y1+y2)/2;
for(j=x2;j>x1;j--)
for(i=y1;i<y2;i++){
goto_xy(j,i);
putchar(' ');
delay(100);
}
}
/******************设置光标子函数******************/
void yemian()
{int i,j;
initgr(); /* BGI初始化 */
drawmat(zhang,32,100,125,RED);
drawmat(hao,32,135,125,RED);
drawmat(dian,32,165,125,RED);
outtextxy(175,145,"liyu");
drawmat(mi,32,100,200,RED);
drawmat(ma,32,135,200,RED);
drawmat(dian,32,165,200,RED) ;
outtextxy(175,220,"liyu");
getch(); /* 暂停一下,看看前面绘图代码的运行结果 */
}
void port(int x)
{
setviewport(0,0,x,550,1);
clearviewport();
delay(10000);
}
void putstar(void)
{int seed=1858;
int i,dotx,doty,h,w,color,maxcolor;
maxcolor=getmaxcolor();
setbkcolor(0);
w=getmaxx();
h=getmaxy();
srand(seed);
for(i=0;i<500;i++)
{dotx=i+random(w-1);
doty=1+random(h-1);
color=random(maxcolor);
setcolor(color);
putpixel(dotx,doty,color);
circle(dotx+1,doty+1,1);
}
srand(seed);
}
void gezi(int x1,int y1)
{int x2=x1+150,y2=y1+30;
setfillstyle(1, 7);
bar(x1,y1,x2,y2);
setcolor(8);
line(x1,y1,x2,y1);
line(x2,y1,x2,y2);
setcolor(15);
line(x1,y1,x1,y2);
line(x1,y2,x2,y2);
}
void zhuye()
{
int i,j;
initgr(); /* BGI初始化 */
setbkcolor(1);
setfillstyle(1, 3);
bar(100,0,500,600);
setcolor(15);
line(100,0,500,0);
line(500,0,500,600);
setcolor(8);
line(100,0,100,600);
line(100,479,500,479);
drawmat(huana,48,100,100,RED);
drawmat(ying,48,150,90,RED);
drawmat(shi,48,200,80,RED);
drawmat(yong,48,250,70,RED);
drawmat(hanga,48,300,70,RED);
drawmat(kong,48,350,80,RED) ;
drawmat(xi,48,400,90,RED);
drawmat(tong,48,450,100,RED);
drawmat(zhang,32,150,228,1);
drawmat(hao,32,185,228,1);
gezi(220,228);
drawmat(mi,32,150,278,1);
drawmat(ma,32,185,278,1);
gezi(220,278);
shansuo(222,230);
i=jueage();
if(i==0)
exit(0);
if(i==1)
kcls(0,30,0,80);
}
int shansuo(int x1,int y1)
{
while(!kbhit())
{setcolor(0);
line(x1,y1,x1,y1+20);
setcolor(7);
line(x1,y1,x1,y1+20);
}
}
int jueage()
{int i;
char s[10]={"liyu"},x[10],y[10];
gotoxy(29,16);
scanf("%s",x);
cprintf("%s",x);
shansuo(222,283);
gotoxy(29,19);
for(i=0;i<10;i++)
{y[i]=getch();
if(y[i]==13)
{y[i]='\0';
break;
}
putchar('*');
}
if((strcmp(s,x)==0)&&(strcmp(s,y)==0))
return 1;
else
return 0;
}
void mainpage()
{
int i;
cleardevice();
putstar();
drawmat(qingmain,48,50,100,4);
drawmat(xuanmain,48,100,100,4);
drawmat(zhemain,48,150,100,4);
drawmat(gongmain,48,200,100,4);
drawmat(nengmain,48,250,100,4);
drawmat(jianmain,48,300,100,4);
drawmat(yimain,24,50,150,4);
drawmat(dunhaomain,24,70,150,4);
drawmat(chamain,24,90,150,4);
drawmat(xunmain,24,110,150,4);
drawmat(ermain,24,50,200,4);
drawmat(dunhaomain,24,70,200,4);
drawmat(dingmain,24,90,200,4);
drawmat(piaomain,24,110,200,4);
drawmat(sanmain,24,50,250,4);
drawmat(dunhaomain,24,70,250,4);
drawmat(tuimain,24,90,250,4);
drawmat(piaomain,24,110,250,4);
drawmat(simain,24,50,300,4);
drawmat(dunhaomain,24,70,300,4);
drawmat(baomain,24,90,300,4);
drawmat(cunmain,24,110,300,4);
drawmat(wumain,24,50,350,4);
drawmat(dunhaomain,24,70,350,4);
drawmat(tuimain,24,90,350,4);
drawmat(chumain,24,110,350,4);
i=getch();
switch(i)
{
case 'a':
mainfind();
mainpage();
case 'b':dingpiao();
mainpage();
case 'c':tuipiao();
mainpage();
case 'd': wenjian();
mainpage();
case 'e':thelast();
default:
mainpage();
}
}
void findadress();
void findtime();
int mainfind()
{
char test;
cleardevice();
putstar();
drawmat(qingmain,48,50,100,1);
drawmat(xuanmain,48,100,100,1);
drawmat(zhemain,48,150,100,1);
drawmat(gongmain,48,200,100,1);
drawmat(nengmain,48,250,100,1);
drawmat(jianmain,48,300,100,1);
drawmat(yimain,24,50,150,1);
drawmat(dunhaomain,24,70,150,1);
drawmat(shimain,24,90,150,1);
drawmat(mainjian,24,110,150,1);
drawmat(ermain,24,50,200,1);
drawmat(dunhaomain,24,70,200,1);
drawmat(dimain,24,90,200,1);
drawmat(dianmain,24,110,200,1);
test=getch();
switch(test)
{case 'a':findtime();
mainpage();
case 'b':findadress();
mainpage();
default:mainfind();
mainpage();
}
}
/*还有两个函数,不给我平分我就保留不发了哒*/
28 楼
liyu355 [专家分:980] 发布于 2005-06-07 00:47:00
还有一个主函数和一个函数哈
嘿嘿
不给我评分我就不发了哈~
HOHO
小弟我也不容易
好歹也写了这么长不是
个人觉得页面还是挺漂亮的哈~
恩恩,给我加油
29 楼
Image0321 [专家分:0] 发布于 2005-06-07 10:39:00
可以发一份给我吗?
cjl0321@163.com
30 楼
liyu355 [专家分:980] 发布于 2005-06-07 11:58:00
哼,没人给加分
我不发了哒
我来回复