C++ and Components
I’m a component guy. I like to make tools that other developers use. Classes in various languages, scripts, etc - I really like to create things that make my life as a programmer easier.
Today I was working on a new component (a windows menu class for wxWindows), and I was progressing along with the unit tests. However, I had a really hard time with the output. The particular unit test tool I use, TestSuite, is nice, lightweight, and provides detailed output by way of a standard stream.
Normally I’m using ProjectBuilder/xCode when I’m using this framework, so the output goes to the output window supplied by those environments. I was using CodeWarrior in classic today, however, and couldn’t get SOIUX (the console-like output window) to work.
I used the wxMessageBox() routine for a while, but reached its character count limits real fast. So then I dug further…
(more…)