Stacks, classes, HTML tags, and parsing.
Well, let me describe the assignment:
You are given a basic HTML file and must create a program that will parse the file and check for:
Tag Validity
Proper tag nesting
A class for the stack and html tags must be used. The interface and implementation for the stack and html tag classes must be in different files (for a total of 5 files, a main.cpp, stack.cpp, stack.h, htmltag.cpp, htmltag.h).
Included in the post is my uncompleted code as I get wierd errors and am probably doing something wrong in general. I also need to figure out to make it work fully and support more tags.
Any help you can provide would be appreciated as I need to have the assignment in by 10:10 AM tomorrow morning.
Thanks to everyone who helps ^_^