文件名称:多级菜单
介绍说明--下载内容均来自于网络,请自行研究使用
/*[原创]一个树形多级菜单参考程序 这是一个用于车载电话的菜单程序,可以看成是手机功能菜单的简化板. 我所认为的树形多级菜单是指:在一个父菜单项目下面有多个子菜单, 子菜单下面又有多个孙菜单...,进入下层菜单主要依*当前选中的索引.有点象文件的目录结构. 本木从前实现这类的菜单主要*分层的switch语句,每层都是一个switch.但当我看到晓奇大侠的 程序和耳朵灌满lq等人的争论后,那时那地,我的心境变化了,我意识到指针代表了先进的生产力, 代表了社会的发展方向,是建设和谐社会的必要条件.不管你用了多长时间C语言,只要你不善于用 一个小针指来指去,你就是那种\"用嘴吃饭的高贵骑士,决不用屁股装弹步枪\"的守旧分子和社会发 展的绊脚石.(跑题太远,删去1万字...打住) .言归正传,下面的程序适用CPU为Mega16,编译器为CVAVR 1.24.4a 由于按键数目较多,所以按键程 序把按键事件分为数字键,快捷键,确认键,取消键,上下翻键几类,以减小菜单结构的容量.一下菜单 数据在菜单结构数组中的偏移量,有多少个菜单象就有多少个宏定义*/-/ * [original] tree is a multi-level menu reference to a procedure which is used in car phone menu procedures can be seen as a feature to simplify the menu board. I think the tree is a multi-level menu means : a father in the following menu items have sub menu, sub-menus there are a number below SUN ... menu, the main menu into classes according to the current selected * Index. a bit like the directory structure. the wood used to achieve this main menu * stratification of the switch statement, is a switch on each floor. but when I saw the Xiaoyi heroes procedures and ears filled with lq others vying On, then that to my mind changed, I realized indicators represent the advanced productive forces, represents the orientation and social development, the building of a harmonious society is a ne
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 37724082多级菜单.rar 列表 多级菜单.c