#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; // 1. Create a "base" HTML transformer template uCalc::Transformer baseHtmlParser; baseHtmlParser.Description("Base HTML Parser"); // Rule to skip over comments baseHtmlParser.SkipOver(" "; // The clone inherits the SkipOver rule from the base, so the commented img tag is ignored. cout << imageParser.Transform(html) << endl; imageParser.Release(); baseHtmlParser.Release(); }