download and install dosbox from http://www.dosbox.com . Follow the steps:
~ Before going to the details u have to create a folder (any name will do). Here we name it as Turbo. Copy the TC into the Turbo folder
~ Run the DOSBox 0.72 from the icon located on the desktop or from the location of the installation folder
~ Then u are presented with two screens which look like the command prompt in Windows. One with a Z prompt. U can ignore the other screen.
~ There type the following commands at the command prompt [Z] in this format:
Mount [Type in any alphabet that u wish except z] [Type the source of the turbo C] press enter
For ex: Z: mount d c:\Turbo\ [The folder TC is present inside the folder Turbo]
~ Now u should get a message which says: Drive D is mounted as a local directory c:\Turbo\ ***. type d: to shift to d: prompt .
~ D: cd TC [The contents inside the folder Turbo gets mounted as a virtual drive (Here D drive)
D: cd Bin
D: TC or Tc.exe [This presents u the Turbo C++3.0 screen]
On the Turbo C++ goto Options>Directories>Change the source of TC to the source directory [D] ( i.e. virtual D: refers to original c:\Turbo\ . So make the path change to something like D:\TC\include and D:\TC\lib respectively ). IMP : Don't use shortcut keys to perform operations in TC because they might be a shortuct key for DOSBOX also . Eg : Ctrl+F9 will exit DOSBOX rather running the code .
No comments:
Post a Comment