
What you need:
> DOS BOX software ( Click here to Download)
Steps:
- Install DOS BOX.
- Download TURBO C compiler (click here to Download)
- On your desktop, Right-click and navigate to new > shortcut.
- In the location text box, type in or copy-paste the location of the exe file of your DOS BOX software( within double quotes).Leave a space and type in the location of the Turbo C.exe file(within double quotes) >> Example shown in the pic below (your location path can vary depending on where your files are located)
5. Give your shortcut a name and your shortcut is ready.
6. When you have opened the shortcut, DOSBOX opens the compiler for you in this case. Press Alt-Enter to toggle between Fullscreen and normal modes.
NOTE: I recommend that you download the Turbo C listed in step 2. It has all the include and lib files in a single folder.
FOR DOS GAMES
In order to run DOS games in Windows 7, repeat the above steps. Remember to enter the appropriate location of the Install folder of the DOS game as instructed in step 4.
There are a few alternative methods which can be found on the web but this is one of the easiest methods to do it.