oic. that pretty old code pretty familiar to me, why dont you use Turbo C++? thats the oldest i got, version 3 made 1992. if you want a copy, i can provide you, its just 8MB uncompressed, and it run under DOS
if you want to stick to the newer VC++ Express, there should be a "console app" for that code in supposedly that 8 different things. i use Ms VC++ 6, MPLAB IDE 8.43, AVR Studio 4, and Arduino IDE 0018... for C programming