Well, I read the FAQ, and it fixed the problem. Windows XP are teh sux0rz.
I feel like a moron for not looking at the FAQ earlier, but it's OK. At least I can compile my own friggin' programs now.
I feel embarassed to have posted that code, since now that the compiler works, I realize that whole thing is a giant mess. ^^
Oh well. Live and learn. I'll probably just start it over from scratch.
Thanks a lot you guys, especially Ken. ;-)
Wish me luck.