Monday, April 27, 2009
Have you ever wanted to have a C++ program that uses an MFC GUI and a console? Here's a link to how to do it.
For those who don't program in C++, you probably don't care, but here's an explanation, anyway: in the old days, before Windows, C++ programs used to have "print" statements to print to the screen you saw in DOS (They're called "printf" or "cout".) They're a convenient way to show what's going on in your program behind the scenes, or just to show a lot of information as the program is running. I still use it for most of my programs, becuase it's simpler than using all the Windows overhead.
Once you start programming for Windows, you get dialog boxes and menus and all that Graphical User Interface stuff, but you lose the ability to just print stuff out when you need to. This little hack lets you have the best of both worlds.
Posted by D at 11:17 AM
Friday, April 10, 2009
Some tracks I've enjoyed recently. I haven't watched these video links, I just found them by a search for the title and artist.
Posted by D at 3:23 PM
I just wanted there to be a link here to the short play I wrote a while back.
Laman and Lemuel are Dead
It's funny-- years after I wrote this, I found out that the idea of evolving clocks shows up in Erewhon, only a few years after Darwin published The Origin of Species.
Posted by D at 10:45 AM