Custom Build Really Rules in MS Visual C++ 2005

Recently I was playing around with parser generators and came across a new feature of MS Visual C++ 2005 which is called “Custom Build Rules”. The MSDN article “Understanding Custom Build Rules in Visual C++ 2005: Building Flex and Bison Files from the IDE” describes in details how to use them and gives a link to FlexBison.rules, the file with build rules for Bison and Flex.

XPath for HTML

The task of locating specific elements and attributes in HTML documents arises from time to time when working with a web browser control. It can be used for filtering content, performing some transformations or automation, e.g. filling in the forms. Of course one can write code for traversing an HTML document for each specific case, but I believe that it is much better to facilitate an existing query language, such as XPath, for this purpose. There are at least two possibilities to add support of XPath for HTML document.

Safe Bool

Some time ago I read an article The Safe Bool Idiom by Bjorn Karlsson. I highly recommend reading it, especially if you are not familiar with this idiom. Though the article itself was excellent, I didn't like the reusable solution suggested there because it seemed to be overcomplicated. In order to provide Boolean tests for a class you had to inherit it from a template class and define an additional member function returning bool. So an alternative solution was invented. The implementation given here doesn't overuse inheritance.

IELTS Results

At last I received the results of my IELTS test. Score 8 out of 9 was even more than I expected. It inspired me to create Certifications page where I put a reference to my Test Report Form and Brainbench certifications. Thanks International House Minsk for excellent IELTS training course that helped me a lot.

The Gallery is Available

The Gallery has been set up and populated with some photos from my collection. Enjoy!

Syndicate content