I recenty made a simple program in C++ that outputs some binary digits in the command prompt on my windows box. It has no purpose, but It was cool and simple. The problem is that when I take the .exe and try to execute it on an older DOS lappy I have, I get an error, "This program cannot be run in DOS mode". It is made to be ran in command prompt, and I can successfully run it in command prompt in Windows, but it just won't work in DOS.
Any ideas what I'm doing wrong?