SE250:lab-8:shua066
lab 8
in the begin ,i try to run it , it give an error, so i change the code then i got an output
the code for it is
int main(){ char *file="lab8.jpg"; ParseTree* t = mkNode('-', mkNode( '-', mkNode( 'a', 0 ), mkNode( 'b', 0 ), 0 ), 0); prefix_tree(t); tree_to_graph( t, file ); return 0; }
<html>
<a href="http://www.esnips.com/doc/b875678f-5543-4f2a-9019-32a5d375a57a/ATA/?widget=documentIcon"><img border="0" alt="ATA" title="click to ViewATA" src="/images/thumbs/thumb.swf.gif"></a> |
<a style="color:#333333" href="http://www.esnips.com/doc/b875678f-5543-4f2a-9019-32a5d375a57a/ATA/?widget=documentIcon">ATA.swf</a> |
Hosted by <a href="http://www.esnips.com" style="color:#FFFFFF">eSnips</a> |
</html>