Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - v c
Search - v c - List
这是C语言代码,数据结构地五章习题源代码-This is the C language code and data structures to V source code Exercises
Date : 2008-10-13 Size : 1.73kb User : 曹兴阳

1.一个表达式和一个二叉树之间,存在着自然的对应关系。写一个程序,实现基于二叉树表示的算术表达式Expression的操作。 2.假设算术表达式Expression内可以含有变量(a~z)、常量(0~9)和二元运算符(+,-,*,/,^(乘幂))。实现以下操作: ⑴ReadExpr(E)——以字符序列的形式输入语法正确的前缀表达式并构造表达式E。 ⑵WriteExpr(E)——用带括弧的中缀表达式输出表达式E。 ⑶Assign(V,c)——实现对变量Vde赋值(V=c),变量的初值为0。 ⑷Value(E)——对算术表达式E求值。 ⑸CompoundExpr(P,E1,E2)——构造一个新的复合表达式(E1)P(E2)。 3.在读入表达的字符序列的同时,完成运算符和运算数的识别和处理以及相应的运算。 4.在识别出运算数的同时,要将其字符形式转换成整数形式。 5.用在后根遍历的次序对表达式求值。
Date : 2008-10-13 Size : 3.54kb User : 王莹

这是C语言代码,数据结构地五章习题源代码-This is the C language code and data structures to V source code Exercises
Date : 2025-12-30 Size : 1kb User : 曹兴阳

1.一个表达式和一个二叉树之间,存在着自然的对应关系。写一个程序,实现基于二叉树表示的算术表达式Expression的操作。 2.假设算术表达式Expression内可以含有变量(a~z)、常量(0~9)和二元运算符(+,-,*,/,^(乘幂))。实现以下操作: ⑴ReadExpr(E)——以字符序列的形式输入语法正确的前缀表达式并构造表达式E。 ⑵WriteExpr(E)——用带括弧的中缀表达式输出表达式E。 ⑶Assign(V,c)——实现对变量Vde赋值(V=c),变量的初值为0。 ⑷Value(E)——对算术表达式E求值。 ⑸CompoundExpr(P,E1,E2)——构造一个新的复合表达式(E1)P(E2)。 3.在读入表达的字符序列的同时,完成运算符和运算数的识别和处理以及相应的运算。 4.在识别出运算数的同时,要将其字符形式转换成整数形式。 5.用在后根遍历的次序对表达式求值。
Date : 2025-12-30 Size : 3kb User : 王莹

16字 LED点阵屏+DS1302电子钟 C 程序 1 脚接+5V 2,3脚32768HZ晶振 4脚接地 5脚接S51的P02 6脚接S51的P01 7接S51的P00 8脚接后备电源,可以接老计算机主板上的3.6V电池,也可以通过二级管隔离接一个大容量电解电容 电压在2.5V以上即可维持 595连级输出数据,138行驱动 P1_0为时钟模式转换键、P2_1为时钟加键、P1_2为时钟减键、P2_3为时钟复位键。在对时钟调整时未对调整 项做闪烁处理-16-character dot matrix LED screen+ DS1302 electronic bell C 1-pin+5 V 2,3 received crystal 32768HZ feet 4 feet 5 feet grounding the S51 then take P02 6 feet of the S51 the S51 then P01 7 pin P00 8 back-up power supply, can access the old computer' s motherboard of 3.6V batteries, can also be isolated by one diode large-capacity electrolytic capacitor voltage in the 2.5V to the maintenance of more than 595 company-output data, 138 firms P1_0 drive mode conversion key for the clock, P2_1 to Clock plus key, P1_2 key for the clock by, P2_3 reset button for the clock. Adjustment of the clock adjustments do not deal with scintillation
Date : 2025-12-30 Size : 4kb User :

仅限参考,大家相互学习一下,这是我们做超声波驱鼠实验的-j u s t a l i t t l e y o u c a n w r i t y o u s e l v e s
Date : 2025-12-30 Size : 2kb User : lishenglong

松瀚单片机代码,数学乘除算法。比较常用,除法可能有bug,仅供参考。-s o n i c. m a t h .A S M . D I V .
Date : 2025-12-30 Size : 2kb User : zhanghonglang
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.