64-Bit

Installing C On 64-bit Windows...

Turbo C won't work in Windows  64-bit as it isn't compatible with it although it works perfectly in 32-bit with direct installation. So to make it work on 64 bit os we are taking help of DOS Emulator better known as DOSBOX.                                    So Lets Start!!!
Step 1:-  Download C ( Turbo C is preferable ) and extract it according to it's respective folders.
Step 2:-  Download DosBox 0.74 (Latest Version) ( Mirror1:- Click Here  , Mirror:- Click Here.)

Step 3:-  Install Dosbox And Open It.



Step 4:-  Enter the Folllowing Commands:-
                 mount d c:\Turbo\ (To open The directory containing tc.exe,                         if wanted replace c:\ with your c location)
    
where you get a reply saying : Drive D is mounted as a local directory c:\Turbo\

Type d: to shift to d ( enter the root directory pointing towards your            
downloaded and extracted c)
 
Now, cd (location)
Eg(if the location is directly place in directory c:\):-

1.cd turboc2 


2.cd tc or tc.exe



Step 5:- In the  C goto Options>Directories> Change the source of TC to the source directory [D] (i.e. virtual D: refers to original (location entered). So make the path change to something like D:\TC\include and D:\TC\lib respectively.)

Note:   1.Full screen: Alt and Enter

             2.When you exit from the DosBox [precisely when u unmount the virtual drive where C has been mounted] all the files you have saved or made changes in C will be copied into the source directory (The directory which contains TurboC2 folder, if it is turboc2)

              3.Don’t use shortcut keys to perform operations in TC because they might be a shortcut key for DOSBOX also. Eg : Ctrl+F9 will exit DOSBOX rather running the code.


How to start TurboC++ in the DOSBox automatically:

You can save yourself some time by having DOSBox automatically mount your folders and start TurboC++:
For versions older than 0.73: Start Menu>Configuration>Edit Configuration
For versions older than 0.74: Start>Dosbox>Options




After clicking on this, dosbox-0.74.conf file opens. Scroll down to the end of this file and add following lines:

[autoexec]
mount d c:\turboc2\ # User has to enter the location of C.
d:


cd tc or cd tc.exe

No comments:

Post a Comment