Turbo C is an one of the essential coding application in every software developer’s life. It is one of the most crucial elements in coding a software or any other application. Here is a detailed procedure on How to Install Turbo C++ In Full-Screen in Windows 7 or Windows Vista without facing any kind of problems. Although looks complicated, this is really simple. All you need to do is follow the below steps carefully. [Duration: 10-20 minutes]
Step 1:
First download Turbo C++ from here
Extract TC into C drive. [c:\TC, so that the exe file is present in the order TC>BIN>TC.exe]
DOSBox is the application to be used to run the Turbo C++ in full screen mode in Windows 7 and Windows Vista. Download DOSBox from here.
Step 2:
After you install both Turbo C and DOSBox, Run the DOSBox.
Type the following commands in the command prompt:
mount d c:\
Now you will see the message – “Drive D is mounted as a local directory c:”
In the command Prompt, type “d:” to go to the directory of D drive.
Then enter the following commands:
cd tc
cd bin
tc.exe
Step 3:
Note: This is very important!!!
In Turbo C++, go to Options>Directories>Change Directories and change the source of TC to the source directory D: ( The virtual D: is reference to the original c:\TC)
If you have chosen the path as done by me, then make the following modifications:
Include Directories
D:\TC\INCLUDE
Library Directories
D:\TC\LIB
Output Directory
D: (or can be left blank)
Source Directory
D: (or can be left blank)
Note:
The shortcut key for Full Screen is ALT + Enter and not CTRL + F9 to run and execute programs like in the normal Turbo Editor.
So, now to being Turbo C quickly everytime you need it, here is a shortcut that you can implement.
Go to C:\>Program Files>DosBox-0.74>DOSBox 0.74 Options
Edit it using notepad and paste the following code at the end of the file:
Turbo C will load automatically whenever you open the DOSBox 0.74.exe from now on.
If your Keyboard and Mouse stops responding in full screen mode, then Go to the configuration file and search for “fullscreen” and change the values:
[sdl]
fullscreen=true
fulldouble=true
[dos]
Some FAQs
- I have changed all the directory settings, still the program is not executing properly as header files are not being recognized. What Shall I do?
- After getting into D: on the fourth line of Step 2, when I type cd tc, I get the message ”UNABLE TO CHANGE TO: TC”. What Shall I do?
- Encounter error statement “UNABLE TO INCLUDE FILE STDIO.H”, even though I have given the correct path to include the directories. What Shall I do?
- Some of my keyboard keys that works with AltGr are not functioning as a result of which i am unable to use symbols such as {, }, etc. What Shall I do?
In case you face the above mentioned or any other problems relating to DOSBox Installation, then just ignore the above steps and Download TurboC Simulator 1.6.5 and install it. It’s a simple one bang band-aid to download and install Turbo C in Windows 7.
Do Let me know in case you face any problems during installation!
I am executing TurboC in Windows7, using the above steps, but when I run the program in full screen, I’m unable to use keyboard or mouse. System just hangs. What can I do?
Hi Venkataramanan,
try change
[sdl]
fullscreen=true
fulldouble=true
[dos]
keyboardlayout=us103
Hi Nikhil,
Thanks for the reply. But, where should I enter the above statements. Either in Config.sys or in autoexec.bat. Can you please clarify.
Hi Venkat,
Enter it in the configuration file where you entered
[sdl]
fullscreen=true
fulldouble=true
[dos]
Hi Nikhil,
Thank you so much for the reply. I’ll try.
thank u
Hi Nikhil,
Reposting as an error message was flashed. Can you please clarify on where should I enter the above statements. Either in config.sys or autoexec.bat.
Hi Venkataramanan ,
Go to Start–>All Programs–>DOSbox 0.74–>options–>Dos Box 0.74 options
It will open a notepad naming “dosbox-0.74.conf.txt” a notepad file.
Find “Ctrl+f” Fullscreen ,you would find it fullscreen=false
fulldouble=false . convert both false into true.
Hi nikhil p naik,Thanks for valuable information. Its Working.
Sure thing! Thanks for the comment. 🙂
sir ..my program is compiling but output screen comes totally black…..no output is shown………..plz give any solution……
Hello Sachin,
Does the screen appear black and disappears or stays black till you press a key?
Hi Nikhil,
I did all the changes, but when I am compiling in full screen, the screen disappears. Please help.
Hello Pratyush,
The shortcut keys differ in dosbox. Do check out the manual on the list of their shortcut keys which is different from that of Turbo C++
Hello Nihikil,
Farhan here. Just wanted ur help. I havent downloaded the dosbox. But, i have Turbo C++ IDE. i took it through a thumbdrive from my teacher. I didnt have to install. He told me just to drag the whole thing to c-drive. So, now i go to BIN and then to TC butwhen I open it….exactly what u said happens. A BLACK screen appears for a second and dissapears. Please help me out. How do i fix it?
Thanks
Hi,
Did you run it using Dos Box?
the header files are not recognised…what should i do!?
You must have not specified the directories properly. Please have a look. In case the problem persists, download the TurboC Simulator instead.
from where i can specify the directories…plz tell me?
“Turbo C++ is a very essential part in every software developer’s life.”
That is not true. That has not been true for a very long time. Turbo C++ dates from before C++ was standardised. It’s over two decades old. If you use it, you don’t learn C++. You learn some mutant ancestor of C++. There are new, correct C++ compilers available for free. I appreciate that many schools in Asia teach using this ancient tool. It’s insane. Why do you accept it? If people are paying a fortune for this education, why are they happy to learn incorrect, wrong C++ that generally won’t even compile on a correct, modern system?
Looks like you have done a good bit of research on this 🙂
article is very informative…..also expecting articles on Facebook access if it is blocked ?
Hello Bharat,
I would definitely do that.
hi nikhil
my first ques is why we have to go through all these steps to work with turbo c++???? why we have to use DOSBox??
also I have gone through all these steps and i am not able to run the program. It does not load header files.
Please reply fast. Thank u in advance
now i am able to run the program and output is displayed but it is displayeit possible.d on the same promt of DOSBox. I want the output on different prompt ( diff screen) for my college projects.
Is it possible. plz reply fast. It is urgent
Please use clrscr();
Hello,
Sorry for the delay in getting back to you. I was out for some time. Turbo c++ was originally designed for windows xp, 98 and older versions of windows. Dosbox is an emulator that makes it possible to run turbo c++ software in Windows Vista, 7 and later versions. It is used only to make a software compatible with the latest version of windows.
The reason for header files not loading is that you have not specified the directories properly. Please make sure that you have followed the step 3 properly.
hey friend after reading this article i’ll also run dosbox in fullscreen mode and my keyboard is also work thanks bro for helping us thnks……………
sir ji jese hi esko compile karte he to ho jata he but esko run karne par dosbox close ho jata plz solustion get me ..
Hello Krishna,
Run karne ke liye ctrl+f9 na dabaye, Usse dosbox close ho jaata hai.
SIR JI TO FIR KYA USE KIYA JATA HE ESME RUN KARNE KE LIYE PLZ SAY..
Go to RUN in the menu tab and then run.
what’s short cut key
Woh manually configure karna padega. Maine try nahi Kiya.
working fine for windows 7
thanx buddy
gud work
Glad it helped you!
I am not able to type ” character. Please help. I am using Windows Vista.
Hello,
In which step are you not able to type?
i followed all the steps given
above
but when i open dosbox again i got this error ” you are still on drive z : change to mounted drive with c” ….plz help
I m very thankful to you sir!!! The article helped me a lot and i was able to execute my graphics related programs in full screen mode which were previously not possible in small screen…Thanks a lot. Sir i am expecting your help for OS UBUNTU. Please let me know if you are working on it.
my problem in mine is it cannot open iostream.h and conio.h and the int main. the whole program is in my flashdrive what is the problem??
Hello Queencie,
You got to specify the correct directory path in Options Menu. Please look into that or try installing it on your PC.
no need of dos box and boring commands just download emulated c++ and run
emulated-turbo-c.software.informer.com/
njoy happy coding
Source: http://trickvilla.com/2011/tc-fullscreen-win-7/#ixzz2KEMn23p8
Thanks for your suggestion Jyothish!
bro, can you help me change that run key to ctrl + f9 ! i need it that way
In dosbox while working in c++ mouse stops working. I have to save the program and open c++ again to make the mouse work. Please help it is very irritating.
Go to the configuration file and search for “fullscreen” and change the values:
[sdl]
fullscreen=true
fulldouble=true
[dos]
Sir i have the same problem.i change the value of fullscreen and fulldouble and saved.but the problem is still there.
I donot understand the use of [sdl] and [dos].However even after changing the values of fullscreen and fulldouble in dosbox options mouse still stops working completly after sometime. 🙁
I have this small clarification. Everything works fine for me in dosbox however I would like to have the output screen more maximized. Its in fullscreen but is there anyway I could increase the width since the output comes out in a limited center of the screen. (Is there anything I could do with fullresolution, windowsresolution or output in the Dosbox options for the above problem???)
it’s not showing my output
help?
Anything unusual? Black or blank screen?
” Turbo c++ was originally designed for windows xp, 98 and older versions of windows.”
Not quite. Turbo C++ was made for no version of windows at all. It was made for 16 bit DOS somewhere around 25 years ago. Today, it is only used to teach people in mostly Indian schools how to be a programmer 25 years ago. This causes obvious problems when they try to work as a programmer in the 21st century 🙁
Sure thing alfredo..! Agree with you. Even the UI looks so dull..
I am getting an output problem. every time i click the Run in the Run option bar, something happens for a fraction of a second, and then I am unable to view the output. any suggestions on how to solve this?
After running a program, mouse stops working in turbo c++ 3. is this problem insurmountable? ( in turbo c++ for windows 7 by neutron)
In dosbox while working in c++ mouse stops working. I have to save the program and open c++ again to make the mouse work. Please help
sir , after running a c++ program my cursor moves but doesnt function on click….. i am using turbo c++ on windows 8.1 …. please reply how to solve this problem….. thanks