Sunday, October 31, 2010

Running Turbo C++ Compiler in Win 7 64 bit using DOSBox

In this article i will discuss about running Turbo c++ compiler in Windows 7 64 bit OS .
TC++ compiler is a 16 bit software and cannot be run on 64 bit versions of Windows 7.But TC ++ can be run in 64 bit Windows 7 by using an x86 emulator called DOS Box.

The process of doing thos is detailed below in plain text or You can see the youtube video which i have attached.OR for better quality click following link.
http://www.youtube.com/watch?v=NqgBp8i-sik




1)Download and install latest version of DOSBox from www.dosbox.com

or direct link available for DoxBox0.74 is here...
http://www.mediafire.com/?sfpq4h1206ew06f


2)Open DOSBox


A console window will open type in the following commands by refering the details given below it
____________________________________________________________________
mount c h:\
h:
cd tc
cd bin
tc
____________________________________________________________________
** Here "c" refers to a virtual drive you can specify any alphabet you like it doesn't matter.
** "h:\ " Refers to the drive which you contain the TC Program folder
** "cd tc " command is used to change the active directory to the folder named tc which contains tc.exe and other files if you have changed the orginal name of this folder use that name instead of tc in this command.

3)TC will open open Options>Directories replace drive letters of all directory specifications by the drive letter you specified earlier in my case "c".
Now you can start doing your program in yur beloved Borland compiler