SE250:lab-8:hbar055

From Marks Wiki
Revision as of 05:20, 3 November 2008 by Mark (Sọ̀rọ̀ | contribs) (2 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
int main(void){
 ParseTree* t= mkNode('-', mkNode('-', mkNode('a',0),mkNode('b',0),0),0);
 prefix_tree(t);
 tree_to_graph(t,"tree_to_graph.jpg");
 return 0;
}

Output:

-(-(a b))