Could someone please tell me how i can compile a C++ file so that it will run in DOS instead of 32 bit windows? I have VC++ 6, and borland C++ builder 5, and i can't find a way with any of them. I don't understand, i tried compiling from the command prompt with borland. the program i am using to compile is bcc32, so obviously 32 bit, but i can't find any application like just BCC to compile it with!

I am getting frustrated. I thought that by learning c++ i would be able to make programs for operating systems other than windows!

If anyone could enlighten me as to how to compile for dos it would be appreciated. I hope it is just some stupid thing that i can't figure out, because if it is not then i wasted a lot of money. Because i didn't want to be making many programs for windows.