95 Flares 95 Flares ×

Step-by-step procedure to install Turbo C++ on 64 bit Windows 7 and Windows 8 using Dosbox.

Steps:
1. Install the software DOSBox ver 0.73
2. Create a folder,for example „Turbo“ (c:Turbo)
3. Download and extract TC into the Turbo folder (c:Turbo):
4. Run the DOSBox 0.73 from the icon located on the desktop:

5. Type the following commands at the command prompt [Z]: mount d c:Turbo
[The folder TC is present inside the folder Turbo]
Now you should get a message which says: Drive D is mounted as a local directory c:Turbo

6. Type d: to shift to d:

7. Next follow the commands below:
cd tc
cd bin
tc or tc.exe [This starts you the Turbo C++ 3.0]

8. In 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:TCinclude and D:TClib respectively )

SEE ALSO:  How Linux is Built And Developed 

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 DOSBox versions older then 0.73 browse into program installation folder and open the dosbox.conf file in any text editor.

For version 0.73 go to Start Menu and click on “Configuration” and then “Edit Configuration“. Then scroll down to the very end, and add the lines
which you want to automatically execute when DOSBox starts.

Automatically mount and start Turbo C++3.0 in DOSBox ver 0.73:

Scroll down to the very end, and add the lines:

Please note:
Full screen: Alt and Enter
When you exit from the DosBox [precisely when u unmount the virtual drive where Turbo C++ 3.0 has been mounted] all the files you have saved or made changes in Turbo C++ 3.0 will be copied into the source directory(The directory which contains TC folder)

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.

95 Flares Twitter 11 Facebook 41 Google+ 8 Pin It Share 0 StumbleUpon 35 LinkedIn 0 95 Flares ×



Subscribe to our daily updates:



ABOUT THE AUTHOR:

thetecnica is an online catalog featuring Social Media stuff, How To guide, Android Apps, gadgets, memes, Infographic and all the interesting stuff.

27 comments
Amrit
Amrit

Whenever i change D:turboinclude to c:turboinclude and run my file it says " unable to open iostream.h" also it says prototype of clrscr not found and similar errors please help

subhajit
subhajit

Thanks, it helps me to install turboc in windows 7. but i faced one problem, when i press alt+enter full screen comes. but i can not able to write on it even mouse does not work. but in small screen it is not happened. plese help me.

prashanth
prashanth

after compiling any program this error coming - i am getting a problem as unable to open include file"STDIO.H" & "CONIO.H" please help me out....

inmadness
inmadness

do i need to use dos again and again? i mean is there a way that i can simply open it without writing command prompts...???

Henry
Henry

thanks a lot ! it really helps ...

Ankit Bhardwaj
Ankit Bhardwaj

Made a simple program of scanning to numbers from user and adding them.When i press enter after i type in the values the output screen vanishes and i land up on the program page again. Then i have to re-run the program to see what the output of the initial program was. Any solutions?

Chenille Jacob
Chenille Jacob

i need help. when i try to get the output, the output comes on the main DOSBox screen similar to the first image. I'm not running DosBox 0.73 though...its 0.74. Is that why?

Vivek
Vivek

Thanks it works; Advice to newbies please don't forget to change directories as given above i.e.,Options>Directories>Under Include directories: delete whatever is there and type: "D:TCinclude" and Under Library directories rewrite the existing text with "D:TClib". Leave Output directory and Source directories blank.use Alt+Enter for fullscreen.Thank You

bala
bala

Thanks alot dude............

Mathewkurisu
Mathewkurisu

guys, it shows the header file cant be opened. plz help

Ng Simple 123
Ng Simple 123

i am not able to compile my files its says stdio and iostream file not found kindly reply wats the problem and wat  can i do

saloni ranka
saloni ranka

could you tell me how to use shortcut keys on Turbo C simulator on windows 7?

Kapil Jindal
Kapil Jindal

No you can do it with single click . write "start location of dosbox" eg: "start E:dosboxdosbox" and save as 'filename.bat' .

Kapil Jindal
Kapil Jindal

In drop box you can't use Ctrl+F9 shortcut to Run Program because Ctrl+F9 will exit DOSBOX .

Mitesh
Mitesh

you don't need to re-run simply go to Window(in the tool bar on top of your screen)>Output. the thing is the program you designed asks it to terminate at the point one enters the values. This is the way it is. To get over , you should use getch(); (included under header conio.h) as Vishal explained. It'd be better to use it with every C program.

Vishal
Vishal

at the end of your main function, place "getch();" dont forget to include conio.h for this

Mitesh
Mitesh

Well, I do not know but maybe this help. Go check for the path specified in your directories. It is blank in my Tc , so I'm getting outputs in my TC only. Check if the path is for the Dosbox or anything.

Mitesh
Mitesh

First make sure of the drive you've installed your software in. Then open Tc.exe, where you code your programming and in the tool bar on the top of your screen go to Options> Directories... In case if you've installed your Tc in C drive, make sure that the path specified for 'Include directory' is saved in C drive. For instance for me it is "C:TcINCLUDE" (Check the path for your Include folder and save it in here) Same applies for the 'LIB DIRECTORY' .

arpan
arpan

hey i 2 gt the same problem...bt i found a solution.. do try it!!!! first after coding ur program save it then go to OPTIONS->DIRECTORIES-> and then type D:TCinclude and D:TClib respectively. hope it works.... :)

thetecnica
thetecnica

Can you elaborate your error ?  There can be a lot of reasons of not getting the output. Also In drop box you can't use Ctrl+F9 shortcut to Run Program because Ctrl+F9 will exit DOSBOX .

Privartan Chhabra
Privartan Chhabra

You have to change the path of the header files from c:/TC/ to D:/ and it able to get all the files and program will compile easily......

thetecnica
thetecnica

In drop box you can't use Ctrl+F9 shortcut  because  Ctrl+F9 will exit DOSBOX

Sneha Shirke
Sneha Shirke

after compiling any program this error coming - unable to open include file"STDIO.H" & "CONIO.H".....so what i need to do????

Vaibhav Rawat
Vaibhav Rawat

after typing 'cd bin' it says dat 'unable to change to bin'!!wat acn i do?!