您好,欢迎访问三七文档
原地址在这里不知道写这样的程序要用到那里?移到AVR上好像也很容易。不知道要用到那里,现在也用不着,所以还没有看,贴出来给大家看看。以下是代码:说明:拼音输入法杳询函数:unsignedcharcode*py_ime(unsignedcharinput_py_val[]);input_py_val为已输入的拼音码字符串头指针,反回值为中文的起始地址,当为0时,杳询失败应用举例:{unsignedcharinput_string[]={bang};unsignedcharchines_string[100];sprintf(chines_string,%s,py_ime(input_string));}C51程序://********************CCDC01采集器测试仪软件:拼音输入法模块********************//*软件设计:*//*日期:2001/3*//*编译环境:Franklin3.3.4*//******************************************************************************#include#include//********************CCDC01采集器测试仪软件:拼音输入法码表********************//*软件设计:张凯*//*日期:2001/3*//*编译环境:Franklin3.3.4*//******************************************************************************//拼音输入法汉字排列表unsignedcharcodePY_mb_a[]={阿啊};unsignedcharcodePY_mb_ai[]={哎哀唉埃挨皑癌矮蔼艾爱隘碍};unsignedcharcodePY_mb_an[]={安氨鞍俺岸按案胺暗};unsignedcharcodePY_mb_ang[]={肮昂盎};unsignedcharcodePY_mb_ao[]={凹敖熬翱袄傲奥澳懊};unsignedcharcodePY_mb_ba[]={八巴叭扒吧芭疤捌笆拔跋把靶坝爸罢霸};unsignedcharcodePY_mb_bai[]={白百佰柏摆败拜稗};unsignedcharcodePY_mb_ban[]={扳班般颁斑搬板版办半伴扮拌绊瓣};unsignedcharcodePY_mb_bang[]={邦帮梆绑榜膀蚌傍棒谤磅镑};unsignedcharcodePY_mb_bao[]={包苞胞褒雹宝饱保堡报抱豹鲍暴爆剥薄瀑};unsignedcharcodePY_mb_bei[]={卑杯悲碑北贝狈备背钡倍被惫焙辈};unsignedcharcodePY_mb_ben[]={奔本苯笨夯};unsignedcharcodePY_mb_beng[]={崩绷甭泵迸蹦};unsignedcharcodePY_mb_bi[]={逼鼻比彼笔鄙币必毕闭庇毖陛毙敝痹蓖弊碧蔽壁避臂};unsignedcharcodePY_mb_bian[]={边编鞭贬扁卞便变遍辨辩辫};unsignedcharcodePY_mb_biao[]={彪标膘表};unsignedcharcodePY_mb_bie[]={憋鳖别瘪};unsignedcharcodePY_mb_bin[]={宾彬斌滨濒摈};unsignedcharcodePY_mb_bing[]={冰兵丙秉柄炳饼并病};unsignedcharcodePY_mb_bo[]={拨波玻钵脖菠播伯驳帛泊勃铂舶博渤搏箔膊卜};unsignedcharcodePY_mb_bu[]={补哺捕不布步怖部埠簿};unsignedcharcodePY_mb_ca[]={擦};unsignedcharcodePY_mb_cai[]={猜才材财裁采彩睬踩菜蔡};unsignedcharcodePY_mb_can[]={参餐残蚕惭惨灿};unsignedcharcodePY_mb_cang[]={仓沧苍舱藏};unsignedcharcodePY_mb_cao[]={操糙曹槽草};unsignedcharcodePY_mb_ce[]={册侧厕测策};unsignedcharcodePY_mb_ceng[]={层蹭曾};unsignedcharcodePY_mb_cha[]={叉插查茬茶搽察碴岔诧差刹};unsignedcharcodePY_mb_chai[]={拆柴豺};unsignedcharcodePY_mb_chan[]={掺搀谗馋缠蝉产铲阐颤};unsignedcharcodePY_mb_chang[]={昌猖肠尝偿常厂场敞畅倡唱};unsignedcharcodePY_mb_chao[]={抄钞超巢朝嘲潮吵炒绰};unsignedcharcodePY_mb_che[]={车扯彻掣撤澈};unsignedcharcodePY_mb_chen[]={郴尘臣忱沉辰陈晨衬趁};unsignedcharcodePY_mb_cheng[]={称撑成呈承诚城乘惩程澄橙逞骋秤};unsignedcharcodePY_mb_chi[]={吃痴弛池驰迟持尺侈齿耻斥赤炽翅};unsignedcharcodePY_mb_chong[]={充冲虫崇宠};unsignedcharcodePY_mb_chou[]={抽仇绸畴愁稠筹酬踌丑瞅臭};unsignedcharcodePY_mb_chu[]={出初除厨滁锄雏橱躇础储楚处搐触矗畜};unsignedcharcodePY_mb_chuai[]={揣};unsignedcharcodePY_mb_chuan[]={川穿传船椽喘串};unsignedcharcodePY_mb_chuang[]={闯疮窗床创};unsignedcharcodePY_mb_chui[]={吹炊垂捶锤};unsignedcharcodePY_mb_chun[]={春椿纯唇淳醇蠢};unsignedcharcodePY_mb_chuo[]={戳};unsignedcharcodePY_mb_ci[]={疵词茨瓷慈辞磁雌此次刺赐};unsignedcharcodePY_mb_cong[]={囱从匆葱聪丛};unsignedcharcodePY_mb_cou[]={凑};unsignedcharcodePY_mb_cu[]={粗促醋簇};unsignedcharcodePY_mb_cuan[]={蹿窜篡};unsignedcharcodePY_mb_cui[]={崔催摧脆淬瘁粹翠};unsignedcharcodePY_mb_cun[]={村存寸};unsignedcharcodePY_mb_cuo[]={搓磋撮挫措错};unsignedcharcodePY_mb_da[]={搭达答瘩打大};unsignedcharcodePY_mb_dai[]={呆歹傣代带待怠殆贷袋逮戴};unsignedcharcodePY_mb_dan[]={丹单担耽郸胆掸旦但诞弹惮淡蛋氮};unsignedcharcodePY_mb_dang[]={当挡党荡档};unsignedcharcodePY_mb_dao[]={刀导岛倒捣祷蹈到悼盗道稻};unsignedcharcodePY_mb_de[]={得德的};unsignedcharcodePY_mb_deng[]={灯登蹬等邓凳瞪};unsignedcharcodePY_mb_di[]={低堤滴狄迪敌涤笛嫡底抵地弟帝递第缔蒂};unsignedcharcodePY_mb_dian[]={掂滇颠典点碘电佃甸店垫惦淀奠殿靛};unsignedcharcodePY_mb_diao[]={刁叼凋碉雕吊钓掉};unsignedcharcodePY_mb_die[]={爹跌迭谍叠碟蝶};unsignedcharcodePY_mb_ding[]={丁叮盯钉顶鼎订定锭};unsignedcharcodePY_mb_diu[]={丢};unsignedcharcodePY_mb_dong[]={东冬董懂动冻侗恫栋洞};unsignedcharcodePY_mb_dou[]={都兜斗抖陡豆逗痘};unsignedcharcodePY_mb_du[]={督毒读犊独堵赌睹妒杜肚度渡镀};unsignedcharcodePY_mb_duan[]={端短段断缎锻};unsignedcharcodePY_mb_dui[]={堆队对兑};unsignedcharcodePY_mb_dun[]={吨敦墩蹲盾钝顿遁};unsignedcharcodePY_mb_duo[]={多哆夺掇朵垛躲剁堕舵惰跺};unsignedcharcodePY_mb_e[]={讹俄娥峨鹅蛾额厄扼恶饿鄂遏};unsignedcharcodePY_mb_en[]={恩};unsignedcharcodePY_mb_er[]={儿而尔耳洱饵二贰};unsignedcharcodePY_mb_fa[]={发乏伐罚阀筏法珐};unsignedcharcodePY_mb_fan[]={帆番翻藩凡矾钒烦樊繁反返犯泛饭范贩};unsignedcharcodePY_mb_fang[]={方坊芳防妨房肪仿访纺放};unsignedcharcodePY_mb_fei[]={飞非啡菲肥匪诽吠废沸肺费};unsignedcharcodePY_mb_fen[]={分吩纷芬氛酚坟汾焚粉份奋忿愤粪};unsignedcharcodePY_mb_feng[]={丰风枫封疯峰烽锋蜂冯逢缝讽凤奉};unsignedcharcodePY_mb_fo[]={佛};unsignedcharcodePY_mb_fou[]={否};unsignedcharcodePY_mb_fu[]={夫肤孵敷弗伏扶拂服俘氟浮涪符袱幅福辐抚甫府斧俯釜辅腑腐父讣付妇负附咐阜复赴副傅富赋缚腹覆};unsignedcharcodePY_mb_ga[]={嘎噶};unsignedcharcodePY_mb_gai[]={该改钙盖溉概};unsignedcharcodePY_mb_gan[]={干甘杆肝柑竿秆赶敢感赣};unsignedcharcodePY_mb_gang[]={冈刚岗纲肛缸钢港杠};unsignedcharcodePY_mb_gao[]={皋羔高膏篙糕搞稿镐告};unsignedcharcodePY_mb_ge[]={戈疙哥胳鸽割搁歌阁革格葛隔个各铬咯};unsignedcharcodePY_mb_gei[]={给};unsignedcharcodePY_mb_gen[]={根跟};unsignedcharcodePY_mb_geng[]={更庚耕羹埂耿梗};unsignedcharcodePY_mb_gong[]={工弓公功攻供宫恭躬龚巩汞拱共贡};unsignedcharcodePY_mb_gou[]={勾沟钩狗苟构购垢够};unsignedcharcodePY_mb_gu[]={估咕姑孤沽菇辜箍古谷股骨蛊鼓固故顾雇};unsignedcharcodePY_mb_gua[]={瓜刮剐寡挂褂};unsignedcharcodePY_mb_guai[]={乖拐怪};unsignedcharcodePY_mb_guan[]={关观官冠棺馆管贯惯灌罐};unsignedcharcodePY_mb_guang[]={光广逛};unsignedcharcodePY_mb_gui[]={归圭龟规闺硅瑰轨诡癸鬼刽柜贵桂跪};unsignedcharcodePY_mb_gun[]={辊滚棍};unsignedcharcodePY_mb_guo[]={郭锅国果裹过};unsignedcharcodePY_mb_ha[]={蛤哈};unsigne
本文标题:输入法程序
链接地址:https://www.777doc.com/doc-7319156 .html