Few days ago we have posted an article about installing Turbo C++ on 32 bit Windows 7. Now we are providing step-by-step procedure how to install Turbo C++ on 64 bit Windows 7.
1. Install the software DOSBox ver 0.73 : download here
2. Create a folder,for example „Turbo“ (c:\Turbo\)
3. Download and extract TC into the Turbo folder (c:\Turbo\): download here
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:\TC\include and D:\TC\lib respectively )
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:
Those commands will be executed automatically when DOSBox starts!
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 .
VIDEO tutorial (there is another setup – original path to Turbo C++ is h:\tc\ and drive H is mounted as drive C:)
well what u have uploaded is correct
have ever tried out this method
i tried and got errors due to dos box each syntax is taken in uppercase even though u write in lower
pls check this out
Hi, I am a new Windows 7 64 bit user.
I successfully installed Turbo C but I don’t know what’s wrong!!!, I can’t compile anything, the compiler doesn’t include the iostream file.
Andrea, amrit: Did you follow instructions? You must change Turbo C++ options:
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:\TC\include and D:\TC\lib respectively )
Those who are getting the error : Unable to find header files(.h),
I solved the problem, Try to install the Dosbox and Turbo C software from the links mentioned in this site and follow the instructions exactly as mentioned in this site.
At the begning when you are running the turbo C , I got the error that invalid directory.Then Change Options –> Environment –> Directories –> Give your virtual directory name.
miss ash…
while running c++…goto options>directories…
then in window opened will show path of lib & include….
they are by default opened in ‘c’
so change it to ‘d’
i.e…in 1st one D:\TC\include & in 2nd line D:\TC\lib…
hey administrator…..
thanks for dis alot….
{but here is a piece of advice…make baby steps for galss..:)…as u have described it clearly about some changes in dir & about fullscreen…they r still having problem in dat…lols)
heyy please can anyone please helppp….when i am pressing f9 to install turboc++ i am getting the message ” please insert disc #1 into drive D:”
can anyone tell what that means and how can i install it????
there is BGI folder inside the TC folder.inside BGI EGAVGA.BGI file is there ,copy this file and paste it inside the BIN folder.if not working then reinstal the tc.if linker probs is there then check in tc editor go to option-linker-libraries then select graphis libraries. then it will run.
yeah ,it worked admin……..
thanks……
but after sometime…the mouse or cursor stops working…we have you edit and access the tool bar using keyboard only…
whats should i do to fix this?
Thanks boss u were of great help to me thanks a lot. I ve just installed it, i havent run any programs right now, i ll let u know if any problem occurs n please help me tat time i ve given my email id please send me your answers to tat once again THANKS A LOT:)
Boss i have got another problem after i press alt+enter the window goes to full screen but it changes its colour scheme, it turns to red its not that bad but while executing programs erros a encountered and they are highlighted in blue background perfectly not in this. Is there any solution for this? please let me know. i have given my id
hiii thanks alot…it worked… i have been searching alot to get c compiler to work on windows 7…i need 1 more help…how i can i change the screen color from red to blue when it is in full screen…
hi admin….thanx for ur post…but i m not able to include graphis.h in my program as i have to deal with bgi file ..and simultaneously whole screen turns into red…i knw u’ld b busy in dealing wid lots of problem of the users of ur site…but if u’ve time then help me in fixing these problems….:)
HI IF U HAVING PROBLEM WITH FULL SCREEN, GOTO Start Menu and click on “Configuration” and then “Edit Configuration“. Their u find OUTPUT=surface, change the OUTPUT=overlay or OUTPUT=ddraw, Please help me if you could solve the problem of linking graphics package. Linking error occuring during run time.
hi, i have installed the turbo c++ with the help of dosbox, the basic c operations are working properly but the graphics functions are not working?
help me!!!
I have encountered a problem. I forgot to change the path . I tried to follow the same steps for the second time. Says illegal command. Unable to change to tc. Let me know.
Thanks a ton in advance
GUYS HAVING PROBLEM WITH FULL SCREEN, GOTO Start Menu and click on “Configuration” and then “Edit Configuration“. Their u find OUTPUT=surface, change the OUTPUT=overlay or OUTPUT=ddraw, Friends, package is not working plz help me. linking error.
hi for all thankes for your information but i have a problem when i type commend cd tc he give me a message that unable to change to :tc please tell me what i have to do.
Thank you for ur advice….
It helped a lot..
tons of thanks …
keep up the great work…
well what u have uploaded is correct
have ever tried out this method
i tried and got errors due to dos box each syntax is taken in uppercase even though u write in lower
pls check this out
Thanks man! You save me!
Brazil
Hi, I am a new Windows 7 64 bit user.
I successfully installed Turbo C but I don’t know what’s wrong!!!, I can’t compile anything, the compiler doesn’t include the iostream file.
some ideas?
when i am compiling the program .it give error that conio.h and stdio.h is not included..
so how should i remove this error….???
Andrea, amrit: Did you follow instructions? You must change Turbo C++ options:
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:\TC\include and D:\TC\lib respectively )
this works a lot…thank God
I also got the above error mentioned by Amrit.
I changed the directory settings in the C++ . Then also getting the same error!
Please help ..
whenever i run a program the dos window closes.what is d solution?
Don’t use CTRL+F9 keystroke to run a program… it will close DOSbox.
thanq soo much…..
even i got the same error “unable to open include file STDIO.H”.. even after changing the settings in directories
please kindly help me… i have a deadline ahead…
hey i got it .. i just simply followed the instructions … it worked ..:)
Hey poojitha,
Hw you solved the problem ??
when i installby pressing f9 ..it shows an error msg”invalid directory name or format”
plz help…..
Hey
I’m also encountering the same error of not being able to include header files. I’ve also changed the directories in options->directories…
Please Help
Hi ,
Those who are getting the error : Unable to find header files(.h),
I solved the problem, Try to install the Dosbox and Turbo C software from the links mentioned in this site and follow the instructions exactly as mentioned in this site.
At the begning when you are running the turbo C , I got the error that invalid directory.Then Change Options –> Environment –> Directories –> Give your virtual directory name.
Thank you ..
thank u very much us help….
it mean a lottttt
once i run c++ and compile the prog i get an error which tells header file cant be included!!!!
miss ash…
while running c++…goto options>directories…
then in window opened will show path of lib & include….
they are by default opened in ‘c’
so change it to ‘d’
i.e…in 1st one D:\TC\include & in 2nd line D:\TC\lib…
thank u very much………………..
Thanks for your great help….
Now I can easily use c++ on Windows 7 x64..
Once again I thanks for advice….
plz help…after i type cd bin it says “unable to change to bin”…plzzz help me
hey thanx for ur help!!!
that really helped ….i want to ask u one more thing whether we can run TASM s/w in similar manner
Thanks for your help. i was caught by the problem but i am happy that i can use my tc++ compiler in win7
thanx for your help.
hi!!!!!!!! i like your trick……bt it cant be use as a fullscreen mode……..
if u press alt+enter u can use in full screen mode
hey administrator…..
thanks for dis alot….
{but here is a piece of advice…make baby steps for galss..:)…as u have described it clearly about some changes in dir & about fullscreen…they r still having problem in dat…lols)
heyy please can anyone please helppp….when i am pressing f9 to install turboc++ i am getting the message ” please insert disc #1 into drive D:”
can anyone tell what that means and how can i install it????
thanks man it helped .But i have a graphic error it says device driver egavga.bgi
not found
there is BGI folder inside the TC folder.inside BGI EGAVGA.BGI file is there ,copy this file and paste it inside the BIN folder.if not working then reinstal the tc.if linker probs is there then check in tc editor go to option-linker-libraries then select graphis libraries. then it will run.
thanks a lot……it works …but do we have to type the commands each and everytime we have to use it?
hi … you should read the post to the end … 😉
The following commands cd tc, cd bin and tc are unable to change from d:\> turbo compiler.so what i do
Thanks….
lot of thanks….
it worked …..great…
thanks for ur help………….
yeah ,it worked admin……..
thanks……
but after sometime…the mouse or cursor stops working…we have you edit and access the tool bar using keyboard only…
whats should i do to fix this?
Yeah when typing as “cd tc” error message coming saying “cannot change to :tc”
Please help as i badly require C ahead of Exams.
thanks….. :)…
it worked….
thanks a lot….
Thanks boss u were of great help to me thanks a lot. I ve just installed it, i havent run any programs right now, i ll let u know if any problem occurs n please help me tat time i ve given my email id please send me your answers to tat once again THANKS A LOT:)
Boss i have got another problem after i press alt+enter the window goes to full screen but it changes its colour scheme, it turns to red its not that bad but while executing programs erros a encountered and they are highlighted in blue background perfectly not in this. Is there any solution for this? please let me know. i have given my id
Really good u saved my day
when i am compiling the program .it give error that conio.h and stdio.h is not included..
so how should i remove this error….???
hiii thanks alot…it worked… i have been searching alot to get c compiler to work on windows 7…i need 1 more help…how i can i change the screen color from red to blue when it is in full screen…
hi admin….thanx for ur post…but i m not able to include graphis.h in my program as i have to deal with bgi file ..and simultaneously whole screen turns into red…i knw u’ld b busy in dealing wid lots of problem of the users of ur site…but if u’ve time then help me in fixing these problems….:)
Plz tell me , if ur able to solve the problem of including .
HI IF U HAVING PROBLEM WITH FULL SCREEN, GOTO Start Menu and click on “Configuration” and then “Edit Configuration“. Their u find OUTPUT=surface, change the OUTPUT=overlay or OUTPUT=ddraw, Please help me if you could solve the problem of linking graphics package. Linking error occuring during run time.
UN:F [1.8.7_1070]
change the directories(ie d:tc\include and d:tc\lib)
i have some problem with full screen
hi, i have installed the turbo c++ with the help of dosbox, the basic c operations are working properly but the graphics functions are not working?
help me!!!
its really helpful !!!!!!!!!!!!
Hey,
I have encountered a problem. I forgot to change the path . I tried to follow the same steps for the second time. Says illegal command. Unable to change to tc. Let me know.
Thanks a ton in advance
GUYS HAVING PROBLEM WITH FULL SCREEN, GOTO Start Menu and click on “Configuration” and then “Edit Configuration“. Their u find OUTPUT=surface, change the OUTPUT=overlay or OUTPUT=ddraw, Friends, package is not working plz help me. linking error.
graphics.h package is not working plz help me, linking error occuring.
Hey man thank you. May u help us is future. Thanks a lot dude.
Hey, Guys this is really so cool.
Thanks,
Buddy:)
thanks a lot its 100% working
thanks a lot its 100% working
hi for all thankes for your information but i have a problem when i type commend cd tc he give me a message that unable to change to :tc please tell me what i have to do.
Why can’t i type “\” or “:”?