B
Bill Cunningham
I have this data so far concerning a tree in a header called tree.h is
it considered valid? I thought I would submit it for opinions. kandr2 is
rough reading on trees. There are alot of new concepts like parenthesis in
certain places and the . and -> operators which involve pointer. I don't
know the difference in them.
/*tree constructs */
struct node {
int count;
char *name;
double price;
struct node *punode;
struct node *pdnode;
};
struct node *add(struct node *price, struct node *name);
struct node *rem(struct node *price, struct node *name);
rem is remove a node.
Bill
it considered valid? I thought I would submit it for opinions. kandr2 is
rough reading on trees. There are alot of new concepts like parenthesis in
certain places and the . and -> operators which involve pointer. I don't
know the difference in them.
/*tree constructs */
struct node {
int count;
char *name;
double price;
struct node *punode;
struct node *pdnode;
};
struct node *add(struct node *price, struct node *name);
struct node *rem(struct node *price, struct node *name);
rem is remove a node.
Bill