title: how to compile for DOS
body: <p>Is there any way I can compile my code for DOS! I have a simple C++ program that does not use any windows API. I can run it under windows using visual studio 2010, however, I need more speed without windows overhead. I wonder if there is any way I can compile it for running under DOS (or any real time platform) without any visual effects overhead? (It's clear I don't want to use very old compilers such as turbo c++, because I loss the optimization benefits of MSVC compiler)</p>
  
  <p>Regards </p>