mirror of
https://github.com/ada-dmitry/prog.l_ada.git
synced 2026-09-24 09:10:14 +00:00
maow
This commit is contained in:
Executable
BIN
Binary file not shown.
@@ -8,3 +8,18 @@ typedef struct tree
|
|||||||
struct tree *left;
|
struct tree *left;
|
||||||
struct tree *right;
|
struct tree *right;
|
||||||
} Tree;
|
} Tree;
|
||||||
|
|
||||||
|
Tree *tnew(void);
|
||||||
|
Tree *leaf(char c);
|
||||||
|
Tree *maketree(char expr[], int first, int last);
|
||||||
|
unsigned char priority(char c);
|
||||||
|
int lastop(char expr[], int first, int last);
|
||||||
|
int calculate(Tree *root);
|
||||||
|
void showtree(Tree *root, int level);
|
||||||
|
Tree *create(unsigned char key);
|
||||||
|
Tree *add(Tree *root, unsigned char key);
|
||||||
|
Tree *search(Tree *root, unsigned char key);
|
||||||
|
Tree *min(Tree *root);
|
||||||
|
Tree *max(Tree *root);
|
||||||
|
Tree *nextdel(Tree *root);
|
||||||
|
void delete(Tree *del);
|
||||||
|
|||||||
Reference in New Issue
Block a user