How would I go about parsing HTML in C++ on my Webserver Application?
getc(), scanf ,cin
How about just a bit more detail. Are you writing an actual web server or an application on one.
It will mainly depend on what you want to do retrieve in your webpage. You can try boost::spirit to create your own parser. (Or a Yacc/Lex parser).
If your are looking for more simple information in the HTML page, getc may be good enough...
libxml2 has a HTML parser. libxml++ is a wrapper for libxml2, but I'm not sure if it exposes the HTMLparser functionality.
Looks like QT Dom parser is the winner
http://stackoverflow.com/questions/489522/library-recommendation-c-html-parser
Hand parsing gets messy, even for relatively trivial cases.
Have you considered a Lexer/Parser, such as Flex/Bison? I highly recommend Antlr - and get AntlrWorks.
A picture is worth a thousand words, so this will tell you why - http://www.antlr.org/works/screenshots/editor.jpg