site design

I’m playing around with a new site design. Mostly black & white, with simple graphics using the “Poor Richard” font. It still needs some work. I definitely need to work on the way this text looks, for instance. And, oh yeah, I need to find a better HTML editor than HomeSite 2, which has gotta be about 10 years old now. Maybe TopStyle?

learning C#

I think I’ve finally finished converting my little calculator program from C++ to C#. The last stumbling block was figuring out how to substitute standard input with the contents of a string that had been passed on the command-line. The answer was to declare a TextReader object, then assign it to Console.In when I wanted to read from the console, or a StringReader object when I wanted to read from a string. Easy! (Once you’ve figured out that there’s such a thing as a StringReader object, and that it’s interchangeable with Console.In.)