打印

学习:求一个简洁的C语言汉字字模查表显示程序

[复制链接]
楼主: kuernikewa
手机看帖
扫描二维码
随时随地手机跟帖
21
LPcfANS| | 2008-8-25 11:26 | 只看该作者 回帖奖励 |倒序浏览

....

//==========================================================================================
//**
//**纵向取模,字节倒序
//**
//==========================================================================================
typedef struct typCHAR_12    // 汉字字模显示数据结构
{
    uint8 Index[2];
    uint8 Msk[16];
}typCHAR_12;
/******************************************************************************************/
//
/******************************************************************************************/
typCHAR_12 const CHAR_12[]={        //16*8 字符
"1",0x00,0x00,0x20,0x20,0xF8,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x1F,0x10,0x10,0x00,
"2",0x00,0x30,0x08,0x08,0x08,0x88,0x70,0x00,0x00,0x18,0x14,0x12,0x11,0x10,0x18,0x00,
"3",0x00,0x30,0x08,0x88,0x88,0x48,0x30,0x00,0x00,0x0C,0x10,0x10,0x10,0x11,0x0E,0x00,
"4",0x00,0x80,0x40,0x20,0xF8,0x00,0x00,0x00,0x00,0x03,0x02,0x12,0x1F,0x12,0x12,0x00,
"5",0x00,0xF8,0x88,0x48,0x48,0x48,0x88,0x00,0x00,0x0C,0x10,0x10,0x10,0x10,0x0F,0x00,
"6",0x00,0xE0,0x10,0x88,0x88,0x98,0x00,0x00,0x00,0x0F,0x11,0x10,0x10,0x10,0x0F,0x00,
"7",0x00,0x38,0x08,0x08,0xC8,0x38,0x08,0x00,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x00,
"8",0x00,0x70,0x88,0x88,0x88,0x88,0x70,0x00,0x00,0x0E,0x11,0x10,0x10,0x11,0x0E,0x00,
"9",0x00,0xF0,0x08,0x08,0x08,0x90,0xE0,0x00,0x00,0x00,0x19,0x11,0x11,0x08,0x07,0x00,
"0",0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x07,0x08,0x10,0x10,0x08,0x07,0x00,
".",0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x30,0x00,0x00,0x00,0x00,
"a",0x00,0x20,0x90,0x50,0x50,0xE0,0x00,0x00,0x00,0x03,0x04,0x04,0x04,0x07,0x04,0x00,
"b",0x02,0xFE,0x20,0x10,0x10,0x10,0xE0,0x00,0x00,0x07,0x04,0x04,0x04,0x04,0x03,0x00,
"c",0x00,0xC0,0x20,0x10,0x10,0x10,0x20,0x00,0x00,0x01,0x02,0x04,0x04,0x04,0x02,0x00,
"d",0x00,0xE0,0x10,0x10,0x10,0x12,0xFE,0x00,0x00,0x03,0x04,0x04,0x04,0x02,0x07,0x04,
"e",0x00,0xE0,0x50,0x50,0x50,0x50,0x60,0x00,0x00,0x03,0x04,0x04,0x04,0x04,0x02,0x00,
"f",0x00,0x10,0x10,0xFC,0x12,0x12,0x06,0x00,0x00,0x04,0x04,0x07,0x04,0x04,0x00,0x00,
"g",0x00,0xB0,0x48,0x48,0x48,0x38,0x08,0x00,0x00,0x06,0x09,0x09,0x09,0x09,0x06,0x00,
"h",0x02,0xFE,0x20,0x10,0x10,0x10,0xE0,0x00,0x04,0x07,0x04,0x00,0x00,0x04,0x07,0x04,
"i",0x00,0x10,0x16,0xF6,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x07,0x04,0x04,0x00,0x00,
"k",0x02,0xFE,0x80,0x40,0xB0,0x10,0x10,0x00,0x04,0x07,0x04,0x00,0x05,0x06,0x04,0x00,
"l",0x00,0x02,0x02,0xFE,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x07,0x04,0x04,0x00,0x00,
"m",0x10,0xF0,0x10,0xF0,0x10,0xE0,0x00,0x00,0x04,0x07,0x00,0x07,0x00,0x07,0x04,0x00,
"n",0x10,0xF0,0x20,0x10,0x10,0x10,0xE0,0x00,0x04,0x07,0x04,0x00,0x00,0x04,0x07,0x04,
"o",0x00,0xC0,0x20,0x10,0x10,0x20,0xC0,0x00,0x00,0x01,0x02,0x04,0x04,0x02,0x01,0x00,
"p",0x08,0xF8,0x10,0x08,0x08,0x08,0xF0,0x00,0x08,0x0F,0x0A,0x02,0x02,0x02,0x01,0x00,
"q",0x00,0xF0,0x08,0x08,0x08,0x08,0xF8,0x00,0x00,0x01,0x02,0x02,0x02,0x09,0x0F,0x08,
"r",0x10,0x10,0xF0,0x20,0x10,0x10,0x30,0x00,0x04,0x04,0x07,0x04,0x04,0x00,0x00,0x00,
"s",0x00,0x60,0x90,0x90,0x90,0x30,0x00,0x00,0x00,0x06,0x04,0x04,0x04,0x03,0x00,0x00,
"t",0x00,0x10,0x10,0xFC,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,0x00,
"u",0x10,0xF0,0x00,0x00,0x00,0x10,0xF0,0x00,0x00,0x03,0x04,0x04,0x04,0x02,0x07,0x04,
"v",0x10,0x30,0xD0,0x00,0x00,0xD0,0x30,0x10,0x00,0x00,0x01,0x06,0x01,0x00,0x00,0x00,
"w",0x10,0xF0,0x00,0xF0,0x00,0xF0,0x10,0x00,0x00,0x00,0x07,0x00,0x07,0x00,0x00,0x00,
"x",0x00,0x10,0x30,0xC0,0xD0,0x30,0x10,0x00,0x00,0x04,0x06,0x05,0x01,0x06,0x04,0x00,
"y",0x08,0x18,0xE8,0x00,0x80,0x68,0x18,0x08,0x08,0x08,0x08,0x07,0x01,0x00,0x00,0x00,
"z",0x00,0x30,0x10,0x90,0x50,0x30,0x10,0x00,0x00,0x04,0x06,0x05,0x04,0x04,0x06,0x00,
"_",0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x20,0x20,0x20,0x20,0x00,
"/",0x00,0x00,0x00,0xE0,0x18,0x07,0x00,0x00,0x00,0x0C,0x03,0x00,0x00,0x00,0x00,0x00,
":",0x00,0x00,0x00,0x60,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x0C,0x0C,0x00,0x00,0x00,
" ",0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
">",0x00,0x00,0x40,0x40,0x80,0x80,0x00,0x00,0x01,0x01,0x05,0x05,0x03,0x03,0x01,0x01,
"<",0x00,0xFC,0x07,0x07,0x04,0xF8,0x00,0x00,0x10,0x9F,0xF0,0x90,0xF0,0x9F,0x10,0x00,
"C",0x00,0xF0,0x08,0x08,0x08,0x08,0x38,0x00,0x00,0x1F,0x20,0x20,0x20,0x20,0x10,0x00,
"%",0xE0,0x50,0xE0,0x90,0x68,0x14,0x0A,0x00,0x00,0x31,0x0C,0x03,0x0E,0x11,0x0E,0x00,
"+",0x00,0x00,0x00,0x00,0xE0,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x0F,0x01,0x01,0x01,
"-",0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
";",0x00,0x00,0x00,0x08,0x10,0x20,0x40,0x80,0x00,0x00,0x00,0x08,0x04,0x02,0x01,0x00,
"=",0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
"L",0x00,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x3F,0x20,0x20,0x20,0x20,0x20,0x00,
"A",0x00,0x00,0xC0,0x38,0xE0,0x00,0x00,0x00,0x20,0x3C,0x23,0x02,0x02,0x27,0x38,0x20,
"B",0x08,0xF8,0x88,0x88,0x88,0x70,0x00,0x00,0x20,0x3F,0x20,0x20,0x20,0x11,0x0E,0x00,
"O",0xF8,0x04,0x02,0x02,0x02,0x04,0xF8,0x00,0x01,0x02,0x04,0x04,0x04,0x02,0x01,0x00,
"N",0x00,0x02,0xFE,0x0E,0x70,0x82,0xFE,0x02,0x00,0x04,0x07,0x04,0x00,0x03,0x07,0x00,
"D",0x00,0x02,0xFE,0x02,0x02,0x02,0x04,0xF8,0x00,0x04,0x07,0x04,0x04,0x04,0x02,0x01,


};

使用特权

评论回复
22
LPcfANS| | 2008-8-25 11:27 | 只看该作者

2

/*********************************************************************************/
//
/*********************************************************************************/
void dprintf_CHAR12 (uint8 line,uint8 column,char str[20])
{
    uint8 i=0;
    uint8 c1;
    unsigned char ulen;
    ulen = (unsigned char)sprintf(dispbuff,"%s",str);
    
    while(i<ulen)
    {
        c1 = dispbuff;
        for(jj=0;jj<sizeof(CHAR_12)/sizeof(CHAR_12[0]);jj++)//寻找字库
            {
                if(c1 == CHAR_12[jj].Index[0])
                    break;
            }
        display_prog(line,column,3);
        column++;

         i++;
     }
}

使用特权

评论回复
23
电子尘埃| | 2008-8-25 11:27 | 只看该作者

参考一下置顶贴吧.有版主与xwj的精采回贴

使用特权

评论回复
24
LPcfANS| | 2008-8-25 11:30 | 只看该作者

3

/****************************************************************************
【功能说明】 指定位置输出一个汉字
****************************************************************************/

void hqg_PutWord(U8 y,U8 x,char str[20])
{
    unsigned char  i=0;    
    unsigned char  c1, c2;
    unsigned char  j,uLen;
    unsigned int   k;
    
    uLen = (unsigned char)sprintf(dispbuff,"%s",str);
    while(i<uLen)
    {
        c1 = dispbuff;
        c2 = dispbuff[i+1];


        for(j=0;j<sizeof(GB_16)/sizeof(GB_16[0]);j++)//寻找字库,汉字有区码和位码,c1区码,c2位码
            {
                if(c1 == GB_16[j].Index[0] && c2 == GB_16[j].Index[1])
                    break;
            }
            for(k=0;k<sizeof(GB_16[0].Msk)/2;k++)
            {

                if(j < sizeof(GB_16)/sizeof(GB_16[0]))//
                { 
                  
                         frameBuffer8BitTft240320[y*16+k][(unsigned char)(x/4)] &= ~((U32)(0xff <<((4-1-((x)%4))*8)));                    //清除
                         frameBuffer8BitTft240320[y*16+k][(unsigned char)((x+1)/4)] &= ~((U32)(0xff <<((4-1-((x)%4))*8)));            //清除
        
                        frameBuffer8BitTft240320[y*16+k][(unsigned char)(x/4)] |= (GB_16[j].Msk[k*2]) << ((4-1-((x)%4))*8);                //显示
                        frameBuffer8BitTft240320[y*16+k][(unsigned char)((x+1)/4)] |= (GB_16[j].Msk[k*2+1]) << ((4-1-((x+1)%4))*8);    //显示
                }
                Slib_SetCursor(y,x);////////////////////
            }
            x+=2;
            i++;
            i++;
            
        }
}

使用特权

评论回复
25
LPcfANS| | 2008-8-25 11:31 | 只看该作者

网上看到的.....

使用特权

评论回复
26
LPcfANS| | 2008-8-25 11:32 | 只看该作者

4


//==============================================================================================
//
//
//==============================================================================================
unsigned int page=0;            //显示页面数,0-63行,分为 0-7 个页面
unsigned int com=0;            //显示命令
unsigned int dat=0;            //显示数据
unsigned int jj=0;            //字库查询辅助变量
void dprintf_CHAR32_16(unsigned int x,unsigned int y,char str[20])
{

          unsigned int i,j,k;    

          uint16 l=0;
        uint16 c1;
        uint16 ulen;
                                      

        k=0x80;    
        ulen = (unsigned int)sprintf(dispbuff,"%s",str);//                                                            


        while(l<ulen)
        {
            c1 = dispbuff[l];//
            for(jj=0;jj<sizeof(GB16_8)/sizeof(GB16_8[0]);jj++)
                {
                    if(c1 == GB16_8[jj].Index[0])
                        break;
                }
          //Set_Position32_16(x,y);                                                    
          //WMLCDCOM(0x0022);                                                        
          for(i=0;i<16;i++)                                                    
          {                                                                        
            for(j=0;j<8;j++)
             {
                 if(GB16_8[jj].Msk&k)
                     PutPixel(x+j+l*8,y+i,BLACK);
                     //WMLCDDATA(BLACK);
                 else
                     PutPixel(x+j+l*8,y+i,WHITE);
                     //WMLCDDATA(WHITE);
                 k=k>>1;
            
             }
             k=0x80;
            }
        x++;

         l++;

     }    
}

使用特权

评论回复
27
LPcfANS| | 2008-8-25 11:33 | 只看该作者

5--S3C2440

//==============================================================================================
//
//
//==============================================================================================

void dprintf_WORD16_16(unsigned int x,unsigned int y,char str[20])
{
  unsigned short Temp_w_b,Temp_color;                                                                        
  unsigned int i,j,k,m;    
 
      uint16 l=0;
    uint16 c1;
    uint16 c2;
    uint16 ulen;

    k=0x8000;    
    ulen = (unsigned int)sprintf(dispbuff,"%s",str);//字的个数
    
    while(l<ulen)
    {
        c1 = dispbuff[l];//把汉字拆分成两个区位码
        c2 = dispbuff[l+1];
        for(jj=0;jj<sizeof(GB16_16)/sizeof(GB16_16[0]);jj++)//寻找字库,计算字库长度,轮巡字库254个汉字
            {
                if(c1 == GB16_16[jj].Index[0] && c2 == GB16_16[jj].Index[1])
                    break;
            }
            for(i=0;i<32;i+=2)                                                    
          {                                                                    
                for(j=0;j<16;j++)
                 {
                     if(((GB16_16[jj].Msk<<8)|(GB16_16[jj].Msk[i+1]))&k)
                     {
                         PutPixel(x+j+l*8,y+i/2,BLACK);
                     }
                     else
                     {
                         PutPixel(x+j+l*8,y+i/2,WHITE);

                     }

                     k=k>>1;
                
                 }
                 
                 k=0x8000;
            }
        x++;

         l++;
        l++;
     }                                                                                                       
}

使用特权

评论回复
28
lfjwfm| | 2008-8-29 12:32 | 只看该作者

这个,如果要全部程序我发给你

void CP40WRITEDlg::OnDispasic() 
{
    // TODO: Add your control notification handler code here
    char dispchar[255];
    int ii,idot;
    unsigned char ctmp1,ctmp2;
    unsigned char chz[]= "桔";
    unsigned char wtest;

    //从数组ucASCIIzm[]拷贝过来的一个字模,显示到编辑框看看
    unsigned char ucasiic168[] ={0x00,0x00,0xC0,0x38,0xE0,0x00,0x00,0x00,0x20,0x3C,0x23,0x02,0x02,0x27,0x38,0x20};
        //0x00,0x80,0xF0,0x8C,0x98,0xE0,0x00,0x00,0x02,0x03,0x02,0x00,0x00,0x02,0x03,0x02};
        //0x00,0x00,0xC0,0x38,0xE0,0x00,0x00,0x00,0x20,0x3C,0x23,0x02,0x02,0x27,0x38,0x20};//A",33
                                 //0x00,0x80,0xF0,0x8C,0x98,0xE0,0x00,0x00,0x02,0x03,0x02,0x00,0x00,0x02,0x03,0x02};
    wtest = 1;
    for  (idot = 0; idot < 8 ; idot ++)
    {
        for (ii = 0 ; ii < 8 ; ii ++)
        {
            if (ucasiic168[ii] & wtest)
            {
                wsprintf(dispchar,"■");
                pCEditDisp -> ReplaceSel(dispchar,TRUE);
            }
            else
            {
                wsprintf(dispchar,"□");
                pCEditDisp -> ReplaceSel(dispchar,TRUE);
            }
        }
        wtest = wtest * 2;
        //换行
        dispchar[0] = 0x0d;
        dispchar[1] = 0x0a;
        dispchar[2] = 0x00;
        pCEditDisp -> ReplaceSel(dispchar,TRUE);
    }

    wtest = 1;
    for  (idot = 0; idot < 8 ; idot ++)
    {
        for (ii = 0 ; ii < 8 ; ii ++)
        {
            if (ucasiic168[ii+8] & wtest)
            {
                wsprintf(dispchar,"■");
                pCEditDisp -> ReplaceSel(dispchar,TRUE);
            }
            else
            {
                wsprintf(dispchar,"□");
                pCEditDisp -> ReplaceSel(dispchar,TRUE);
            }
        }
        wtest = wtest * 2;
        //换行
        dispchar[0] = 0x0d;
        dispchar[1] = 0x0a;
        dispchar[2] = 0x00;
        pCEditDisp -> ReplaceSel(dispchar,TRUE);
    }

}
□□■□□□□□■□□□□□□□
□□■□□□□□■□□□□□□□
□□■□□■■■■■■■□□□□
■■■■■□□□■□□□□□□□
□■■□□□□□■□□□□□□□
□■■■□■■■■■■■□□□□
■□■□■□□□□□□□□□□□
■□■□□□■■■■■□□□□□
□□■□□□■□□□■□□□□□
□□■□□□■□□□■□□□□□
□□■□□□■■■■■□□□□□
□□■□□□■□□□■□□□□□
□□□□□□□□□□□□
□□□□□□□□□□□□
□□■□□□□□■□□□
□□■□□□□□■□□□
□□■□□■■■■■■■
■■■■■□□□■□□□
□■■□□□□□■□□□
□■■■□■■■■■■■
■□■□■□□□□□□□
■□■□□□■■■■■□
□□■□□□■□□□■□
□□■□□□■□□□■□
□□■□□□■■■■■□
□□■□□□■□□□■□
□□□□□□□□□□□□
□□□□□□□□□□□□

使用特权

评论回复
29
strang| | 2008-8-29 22:24 | 只看该作者

字摸软件III就可以了

使用特权

评论回复
30
原野之狼| | 2008-8-30 13:16 | 只看该作者

搜索有这么几个方法

1、从头找到尾。优点:简单。缺点:速度慢。
2、做成有序表,根据汉字机内码做对分查找。优点:快。缺点:有序表需要人工排或者软件排。
人工排就不用说了,费点时间而已。
软件排可以用单片机的FLASH编程来实现。
当然,也可以在PC上自己做一个取模软件,然后生成有序表。

使用特权

评论回复
31
陳明浩| | 2008-8-31 14:34 | 只看该作者

實現A/D轉換的LCD漢字字模顯示C程序

求一個C语言漢字字模显示程序附帶要A/D轉換的。A/D用的是TLC549,芯片是AT89C51。急用!!謝謝!!

使用特权

评论回复
32
ddb_21ic| | 2008-9-1 10:25 | 只看该作者

这台湾人有点过分

使用特权

评论回复
33
qdfuser| | 2008-9-2 20:11 | 只看该作者

C语言汉字字模查表显示程序

网上程序多如牛毛,原理图也有,很好用.

使用特权

评论回复
34
kiki988| | 2008-9-2 20:57 | 只看该作者

我倒是有编过一个直接输入中文就可以显示的程序

我倒是有编过一个直接输入中文就可以显示的程序,是用液晶显示16*32的汉字,我先贴一段主程序供大家参考一下。
struct mystructure
{uchar index[2]; 
 uchar mydot[32];
};
struct mystructure code myhzk[TOTAL]=


"一", 0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0xC0,0x80,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 
"二", 0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x06,0x04,0x00,0x00,0x00,
      0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x18,0x10,0x00,
"三", 0x00,0x04,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x04,0x00,0x00,
      0x00,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x00,
"四", 0x00,0xFE,0x02,0x02,0x02,0xFE,0x02,0x02,0xFE,0x02,0x02,0x02,0x02,0xFE,0x00,0x00,
      0x00,0x7F,0x28,0x24,0x23,0x20,0x20,0x20,0x21,0x22,0x22,0x22,0x22,0x7F,0x00,0x00,
"五", 0x00,0x02,0x82,0x82,0x82,0x82,0xFE,0x82,0x82,0x82,0xC2,0x82,0x02,0x00,0x00,0x00,
      0x20,0x20,0x20,0x20,0x20,0x3F,0x20,0x20,0x20,0x20,0x3F,0x20,0x20,0x30,0x20,0x00,
"六", 0x10,0x10,0x10,0x10,0x10,0x91,0x12,0x1E,0x94,0x10,0x10,0x10,0x10,0x10,0x10,0x00,
      0x00,0x40,0x20,0x10,0x0C,0x03,0x01,0x00,0x00,0x01,0x02,0x0C,0x78,0x30,0x00,0x00,
"七", 0x00,0x00,0x00,0xFE,0x42,0x42,0x42,0x42,0x42,0x42,0x42,0xFE,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x3F,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x3F,0x00,0x00,0x00,0x00,
"电", 0x00,0x00,0xF0,0x10,0x90,0x90,0xFF,0x48,0x08,0x08,0xF8,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x03,0x02,0x02,0x1F,0x21,0x21,0x21,0x20,0x20,0x20,0x1C,0x00,0x00
    
}; 

//-------------------------------------------------------------
//函数功能:汉字索引程序
//入口参数:pag是显示起始页,style是正反显选择,0是正显,1是反显 
//  cs是左右面的选择,0为左面,1为右面
//-------------------------------------------------------------         
void myhz(uchar row,uchar pag,uchar *p,uchar style,uchar cs)      
{uchar hzl,hzr,i,j;
 hzl=*p;
 p++;
 hzr=*p;
 for(i=0;i<TOTAL;i++)
 {if((hzl==myhzk.index[0])&&(hzr==myhzk.index[1]))
   
     {write_cmd(cs,0x40+16*row);                  //写命令程序
      write_cmd(cs,0xb8+pag);
        for(j=0;j<16;j++)
         write_data(cs,myhzk.mydot[j]^style); //显示字的上半部份
  
      write_cmd(cs,0x40+16*row);
      write_cmd(cs,0xb8+pag+1);
       for(j=16;j<32;j++)
        write_data(cs,myhzk.mydot[j]^style); //显示字的下半部份
      break;
     }
  }
}

使用特权

评论回复
35
dongpei21| | 2008-9-2 21:53 | 只看该作者

单片机lcd

买个带字库的lcd 就很好用 ocmj b系列的就带字库 可以直接输入汉字。
没字库的还要用取模软件,还要注意是纵向或横向取模。很麻烦

使用特权

评论回复
36
冰点柔情| | 2008-9-2 21:57 | 只看该作者

遗憾中

我想了想,写了个程序,可能不对,就没发,没有帮上忙,真是不好意思啊

使用特权

评论回复
37
moon2jin| | 2008-9-3 18:00 | 只看该作者

纠正方向

我个人认为楼主是不是想从已有的国标字库中查找子模,我觉得需要对区位码等等进行操作

使用特权

评论回复
38
maxmin| | 2008-9-4 13:57 | 只看该作者

使用结构数组!!!

使用特权

评论回复
39
diddle| | 2008-9-4 16:33 | 只看该作者

自动转换?

好像有个程序可以自动转换

使用特权

评论回复
40
JerryGE| | 2008-9-6 11:55 | 只看该作者

多音字的理解

一般只是用一部分汉字,又不是做全库,多音字的话后面跟个编号不就可以了。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则