I have finally figured out how to post source code in this thing.
I use Microsoft Windows Live Writer with the Insert Code Snippet Writer tool.
Followed instructions from this site:
If you had problems with my source code, it was most likely due to the html formatting, and removal of certain items that are necessary. (like the #include <xxx.xxx> statements).
I have reformatted all existing posts, so everything should be in working order now.
Please let me know if anything is amiss, and i will take care of it. firstname.lastname@example.org