Hello there,
I was trying to implement a program for a friend of mine in C, this program has to read the HTML user input (directly or from a file), check that input if the HTML tags are put in their correct order.
For example, If I entered
<HTML></BODY>Whatever text<BODY></HTML>
The program should give me an error message about the disorder in the tag <BODY>.
Should I use stacks or can I use something else instead ?
Thanks for the nice place.:cool: