nikhilboorla Posted January 22, 2013 Report Posted January 22, 2013 [color=#000000][font=verdana, arial, sans-serif][size=2]Write a simple c program that does the following. main() calls function parse() with a string of html "<html><div class='me'><div class='child'></div></div></html>"[/size][/font][/color] [color=#000000][font=verdana, arial, sans-serif][size=2]The parse function creates an ast (tree) with the following objects. [/size][/font][/color] [color=#000000][font=verdana, arial, sans-serif][size=2]- HTML[/size][/font][/color] [color=#000000][font=verdana, arial, sans-serif][size=2]- DIV with the properties class='me' pointer to HTML[/size][/font][/color] [color=#000000][font=verdana, arial, sans-serif][size=2]- DIV with the properties class='child' pointer to DIV above[/size][/font][/color]
mrudhula99 Posted January 22, 2013 Report Posted January 22, 2013 LTT [size=4] [/size][size=4] [/size] 1
150bryant Posted January 22, 2013 Report Posted January 22, 2013 [quote name='mrudhula99' timestamp='1358819068' post='1303149104'] LTT [size=4] [/size] [/quote]emaina help chesaav emoo ankuna...subject wise...ga how are you ji ?
rtxing Posted January 22, 2013 Report Posted January 22, 2013 did u get the answer ? i can do it ; it might take 1-2 hrs 1
Recommended Posts