Thursday, October 28, 2010

typedef

typedef struct node Node, *Tree;
struct node {
    char word[MAXSIZE];
    Tree left;
    Tree middle;
    Tree right;
};

    Node n;
    Node *m;
    //which is equal to
    Tree m;

No comments:

Post a Comment