Ah, thank you! I installed MinGW and compiled with that, and the program works wonderfully now. Thanks a million!